2018-07-14 04:42:15 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2018-08-21 01:52:25 +00:00
|
|
|
[ -z "$1" ] || cd $1
|
2018-07-14 04:42:15 +00:00
|
|
|
|
2018-09-01 07:50:47 +00:00
|
|
|
cp Marlin/src/config/default/* Marlin/
|
|
|
|
[ -f Marlin/_Bootscreen.h ] && rm Marlin/_Bootscreen.h
|
|
|
|
[ -f Marlin/_Statusscreen.h ] && rm Marlin/_Statusscreen.h
|
|
|
|
[ -d .test/pins ] && { cp .test/pins/* Marlin/src/pins/ ; rm -rf .test/pins ; }
|
|
|
|
[ -d .test ] && rm -r .test
|
2018-07-14 04:42:15 +00:00
|
|
|
|
2018-09-01 07:50:47 +00:00
|
|
|
printf "\033[0;32mEnvironment Restored\033[0m\n"
|