File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Bash is used for pushd and popd
3+
14mydir=$( readlink -f " $0 " )
25mydir=$( dirname " $mydir " )
36
@@ -73,7 +76,14 @@ $mpremote fs mkdir :/apps
7376# $mpremote fs cp -r apps/com.micropythonos.musicplayer :/apps/
7477# $mpremote fs cp -r apps/com.micropythonos.soundrecorder :/apps/
7578# $mpremote fs cp -r apps/com.micropythonos.breakout :/apps/
76- # exit 1
79+
80+ if [ ! -z " $appname " ]; then
81+ echo " Not resetting so the installed app can be used immediately."
82+ $mpremote reset
83+ fi
84+
85+ # Uncomment this line if you really want all apps the be installed:
86+ echo " Not installing all apps by default because it takes a long time, uses lots of storage and makes the boot slower..." ; popd ; exit 1
7787
7888$mpremote fs cp -r apps/com.micropythonos.* :/apps/
7989find apps/ -maxdepth 1 -type l | while read symlink; do
8999
90100popd
91101
92- # Install test infrastructure (for running ondevice tests)
93- echo " Installing test infrastructure..."
94- $mpremote fs mkdir :/tests
95- $mpremote fs mkdir :/tests/screenshots
96-
97- if [ ! -z " $appname " ]; then
98- echo " Not resetting so the installed app can be used immediately."
99- $mpremote reset
100- fi
You can’t perform that action at this time.
0 commit comments