aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-06-04 16:15:48 -0600
committerBryson Steck <steck.bryson@gmail.com>2022-06-04 16:15:48 -0600
commite28ec48ddad72f47f95b2e9409037282575a91c9 (patch)
tree7a15f1b45dfb541a773d69ccad93346825662534
parent3fe62597a06e728d60f386f2da2678b0e60d382e (diff)
downloadriibalanced-patcher-e28ec48ddad72f47f95b2e9409037282575a91c9.tar
riibalanced-patcher-e28ec48ddad72f47f95b2e9409037282575a91c9.tar.gz
riibalanced-patcher-e28ec48ddad72f47f95b2e9409037282575a91c9.tar.bz2
extract common code, add download for darwin
-rwxr-xr-xpatch_iso.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/patch_iso.sh b/patch_iso.sh
index c2ef004..84cc287 100755
--- a/patch_iso.sh
+++ b/patch_iso.sh
@@ -63,20 +63,20 @@ if [[ ERROR -ne 0 ]]; then
else
echo "ERROR: Your system's architecture ($arch) does not support Wiimm's ISO Tools. Please refer to wit's website for more information on how to install the tools. https://wit.wiimm.de/"
fi
- tar -xvf wit.tar.gz
- cd wit-v*/
- echo "You will now be prompted to enter your password for sudo in order for wit to install."
- sudo ./install.sh
- cd ..
- rm -rf wit-v*/
elif [[ "$OSTYPE" == "darwin"* ]]; then
- break
+ wget https://wit.wiimm.de/download/wit-v3.04a-r8427-mac.tar.gz -O wit.tar.gz
elif [[ "$OSTYPE" == "cygwin" ]]; then
break
else
echo "Riibalanced Patcher: Your operating system ($OSTYPE) does not support Wiimm's ISO Tools. Please refer to wit's website for more information on how to install the tools. https://wit.wiimm.de/"
exit 2;
fi
+ tar -xvf wit.tar.gz
+ cd wit-v*/
+ echo "You will now be prompted to enter your password for sudo in order for wit to install."
+ sudo ./install.sh
+ cd ..
+ rm -rf wit-v*/
# check if wit is installed now
type wit
ERROR="$?"