Skip to content

Commit cf0537b

Browse files
install.sh: adapt to unified builds
1 parent ee2be80 commit cf0537b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

scripts/install.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ if [ ! -z "$appname" ]; then
4545
fi
4646

4747

48-
if [ -z "$target" -o "$target" == "waveshare-esp32-s3-touch-lcd-2" ]; then
49-
$mpremote fs cp boot.py :/boot.py
50-
else
51-
$mpremote fs cp boot_"$target".py :/boot.py
52-
fi
53-
$mpremote fs cp main.py :/main.py
48+
#if [ -z "$target" -o "$target" == "waveshare-esp32-s3-touch-lcd-2" ]; then
49+
# $mpremote fs cp boot.py :/boot.py
50+
#else
51+
# $mpremote fs cp boot_"$target".py :/boot.py
52+
#fi
53+
#$mpremote fs cp main.py :/main.py
5454

5555
#$mpremote fs cp main.py :/system/button.py
5656
#$mpremote fs cp autorun.py :/autorun.py
@@ -59,7 +59,6 @@ $mpremote fs cp main.py :/main.py
5959
# The issue is that this brings all the .git folders with it:
6060
#$mpremote fs cp -r apps :/
6161

62-
#if false; then
6362
$mpremote fs mkdir :/apps
6463
$mpremote fs cp -r apps/com.micropythonos.* :/apps/
6564
find apps/ -maxdepth 1 -type l | while read symlink; do
@@ -68,11 +67,10 @@ find apps/ -maxdepth 1 -type l | while read symlink; do
6867
$mpremote fs cp -r "$symlink"/* :/"$symlink"/
6968

7069
done
71-
#fi
7270

7371
$mpremote fs cp -r builtin :/
7472
$mpremote fs cp -r lib :/
75-
$mpremote fs cp -r resources :/
73+
#$mpremote fs cp -r resources :/
7674

7775
#$mpremote fs cp -r data :/
7876
#$mpremote fs cp -r data/images :/data/

0 commit comments

Comments
 (0)