diff --git a/myscript.sh b/myscript.sh new file mode 100644 index 0000000..052c32c --- /dev/null +++ b/myscript.sh @@ -0,0 +1,90 @@ +#!/bin/bash +RESTART_INSTRUCTIONS="Dropping to shell. To rebuild, swipe from the top of your screen, touch the arrow on the right side of your Termux Notification, touch 'Exit', then relaunch this app." +if ! ls /storage/emulated/0 >/dev/null 2>&1 +then + yes | pkg install termux-am + yes | termux-setup-storage +fi +cat </dev/null | grep '^20b854b239203baf6c961b850a4a51a2' | head -n1 | cut -d'/' -f2- | xargs -I "%" echo /%) +fi +BLOCKS_FREE=$(awk -F ' ' '{print $4}' <(df | grep emulated)) +if (( 2097152 > BLOCKS_FREE )) +then + cat <&1 | tee build.log +if ! [ -f build/us_pc/sm64coopdx.apk ] +then + cat <