My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

env_restore 354B

1234567891011
  1. #!/usr/bin/env bash
  2. [ -z "$1" ] || cd $1
  3. cp Marlin/src/config/default/* Marlin/
  4. [ -f Marlin/_Bootscreen.h ] && rm Marlin/_Bootscreen.h
  5. [ -f Marlin/_Statusscreen.h ] && rm Marlin/_Statusscreen.h
  6. [ -d .test/pins ] && { cp .test/pins/* Marlin/src/pins/ ; rm -rf .test/pins ; }
  7. [ -d .test ] && rm -r .test
  8. printf "\033[0;32mEnvironment Restored\033[0m\n"