From 19316a4c384d87be6b3bde00dffecdd3ec0f20d7 Mon Sep 17 00:00:00 2001 From: izzy2lost Date: Sat, 8 Mar 2025 11:19:39 -0500 Subject: [PATCH] Add files via upload --- myscript.sh | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 myscript.sh 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 <