Marlin 2.0 for Flying Bear 4S/5
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.
 
 
 
 
 
 

11 lines
354 B

#!/usr/bin/env bash
[ -z "$1" ] || cd $1
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
printf "\033[0;32mEnvironment Restored\033[0m\n"