diff --git a/build/windows/make.sh b/build/windows/make.sh index 41fa5a896..c0a39bd57 100755 --- a/build/windows/make.sh +++ b/build/windows/make.sh @@ -64,7 +64,7 @@ else mkdir work/tools cp dist/avr_tools.zip . echo Extracting avr tools ... - unzip -q -d work avr.zip + unzip -q -d work avr_tools.zip rm -f avr_tools.zip cp dist/tools/*.* work/tools cp dist/lib/makefile.win work/Makefile @@ -72,6 +72,15 @@ else cp ../../../core/*.* work/core cp dist/core/makefile.win work/core/Makefile + # take care of the examples + mkdir work/examples + cd work/examples + cp ../shared/dist/examples.zip . + echo Extracting examples ... + unzip -q -d . examples.zip + rm -f examples.zip + cd ../.. + # chmod +x the crew find work -name "*.dll" -exec chmod +x {} ';' find work -name "*.exe" -exec chmod +x {} ';'