aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-06-05 02:38:52 -0600
committerBryson Steck <steck.bryson@gmail.com>2022-06-05 02:38:52 -0600
commit5cf0f194b6f0e58033a98dda21b60e352bf3c1dd (patch)
tree1e6a9f06cab9dbb2c02244aa948c4755320cb4e0
parent65b4e65095da467bb869782120f371c6f53ae3cd (diff)
downloadriibalanced-patcher-5cf0f194b6f0e58033a98dda21b60e352bf3c1dd.tar
riibalanced-patcher-5cf0f194b6f0e58033a98dda21b60e352bf3c1dd.tar.gz
riibalanced-patcher-5cf0f194b6f0e58033a98dda21b60e352bf3c1dd.tar.bz2
put cygwin commands in wrong place
-rwxr-xr-xpatch_iso.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/patch_iso.sh b/patch_iso.sh
index 68e7e56..252cc8b 100755
--- a/patch_iso.sh
+++ b/patch_iso.sh
@@ -84,6 +84,7 @@ if [[ ERROR -ne 0 ]]; then
exit 2;
fi
if [[ $CYGWIN ]]; then
+ chown Administrator:None .
powershell -command "Expand-Archive -Force .\wit.zip ."
cd wit-v*/
if [[ $(id -u) == 197108 ]]; then
@@ -92,13 +93,12 @@ if [[ ERROR -ne 0 ]]; then
echo "ERROR: Please run Cygwin as Administrator to install wit."
exit 9
fi
+ export PATH="$PATH:/cygdrive/c/Program Files/Wiimm/WIT:/cygdrive/c/Program Files (x86)/Wiimm/WIT"
else
tar -xvf wit.tar.gz
cd wit-v*/
if [[ $(id -u) == 0 ]]; then
- chown Administrator:None .
./install.sh
- export PATH="$PATH:/cygdrive/c/Program Files/Wiimm/WIT:/cygdrive/c/Program Files (x86)/Wiimm/WIT"
else
echo "You will now be prompted to enter your password for sudo in order for wit to install."
sudo ./install.sh