Fixed bug with placeholder install

Also the "I have OCD" update
This commit is contained in:
DarDarDoor 2022-11-07 17:26:17 +00:00 committed by GitHub
parent e4168a9039
commit 4dc3f07e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 26 deletions

View File

@ -62,10 +62,10 @@ if [ "$1" == "uninstall" ] || [ "$2" == "uninstall" ]
then then
echo "Please select the revival you'd like to uninstall: " echo "Please select the revival you'd like to uninstall: "
echo "1. Crapblox " echo "1. Crapblox "
echo "2. Placeholder " echo "2. Tadah "
echo "3. ItteBlox " echo "3. Placeholder "
echo "4. Tadah " echo "4. ItteBlox "
read UNINSTALLOPT read UNINSTALLOPT
if [ $UNINSTALLOPT == "1" ] if [ $UNINSTALLOPT == "1" ]
then then
CURRENT="Crapblox" CURRENT="Crapblox"
@ -73,28 +73,27 @@ then
fi fi
if [ $UNINSTALLOPT == "2" ] if [ $UNINSTALLOPT == "2" ]
then then
CURRENT="Placeholder" CURRENT="Tadah"
uninstall uninstall
fi fi
if [ $UNINSTALLOPT == "3" ] if [ $UNINSTALLOPT == "3" ]
then then
CURRENT="ItteBlox" CURRENT="Placeholder"
uninstall uninstall
fi fi
if [ $UNINSTALLOPT == "4" ] if [ $UNINSTALLOPT == "4" ]
then then
CURRENT="Tadah" CURRENT="ItteBlox"
uninstall uninstall
fi fi
fi fi
if [ "$1" == "dxvk" ] || [ "$2" == "dxvk" ] if [ "$1" == "dxvk" ] || [ "$2" == "dxvk" ]
then then
echo "Please select the wineprefix you'd like DXVK to install to: " echo "Please select the wineprefix you'd like DXVK to install to: "
echo "1. ItteBlox wineprefix " echo "1. Crapblox wineprefix "
echo "2. Crapblox wineprefix " echo "2. Tadah wineprefix "
echo "3. Placeholder wineprefix " echo "3. Placeholder wineprefix "
echo "4. Tadah wineprefix " echo "4. ItteBlox wineprefix "
read DXVKOPT read DXVKOPT
mkdir $HOME/tmp mkdir $HOME/tmp
cd $HOME/tmp cd $HOME/tmp
@ -103,11 +102,11 @@ then
cd dxvk-1.10.3 cd dxvk-1.10.3
if [ $DXVKOPT == "1" ] if [ $DXVKOPT == "1" ]
then then
WINEPREFIX=$HOME/.itteblox ./setup_dxvk.sh install WINEPREFIX=$HOME/.crapblox ./setup_dxvk.sh install
fi fi
if [ $DXVKOPT == "2" ] if [ $DXVKOPT == "2" ]
then then
WINEPREFIX=$HOME/.crapblox ./setup_dxvk.sh install WINEPREFIX=$HOME/.tadah ./setup_dxvk.sh install
fi fi
if [ $DXVKOPT == "3" ] if [ $DXVKOPT == "3" ]
then then
@ -115,7 +114,7 @@ then
fi fi
if [ $DXVKOPT == "4" ] if [ $DXVKOPT == "4" ]
then then
WINEPREFIX=$HOME/.tadah ./setup_dxvk.sh install WINEPREFIX=$HOME/.itteblox ./setup_dxvk.sh install
fi fi
cd $HOME cd $HOME
rm tmp -rf rm tmp -rf
@ -224,7 +223,7 @@ othercheck ()
else else
echo "wget is installed, skipping check.. " echo "wget is installed, skipping check.. "
fi fi
if [ $CURRENT == "ItteBlox" ] || [ $CURRENT == "Roblosium" ] if [ $CURRENT == "ItteBlox" ] || [ $CURRENT == "Placeholder" ]
then then
if [ ! -x /usr/bin/curl ] if [ ! -x /usr/bin/curl ]
then then
@ -353,9 +352,9 @@ tadah ()
echo "Welcome to Wineorc, please select an revival to install. (see --help for other options) " echo "Welcome to Wineorc, please select an revival to install. (see --help for other options) "
echo "1. Crapblox " echo "1. Crapblox "
echo "2. Placeholder " echo "2. Tadah "
echo "3. ItteBlox " echo "3. Placeholder "
echo "4. Tadah " echo "4. ItteBlox "
read OPT read OPT
if [ $OPT == "1" ] if [ $OPT == "1" ]
then then
@ -364,18 +363,18 @@ then
fi fi
if [ $OPT == "2" ] if [ $OPT == "2" ]
then then
CURRENT="Placeholder" CURRENT="Tadah"
placeholder tadah
fi fi
if [ $OPT == "3" ] if [ $OPT == "3" ]
then then
CURRENT="ItteBlox" CURRENT="Placeholder"
itteblox placeholder
fi fi
if [ $OPT == "4" ] if [ $OPT == "4" ]
then then
CURRENT="Tadah" CURRENT="ItteBlox"
tadah itteblox
fi fi
wineserver -k wineserver -k