Updated kitchens inc games installer.

This commit is contained in:
Storm Dragon 2020-09-04 18:45:45 -04:00
parent 87a9bddaf8
commit eff26b3c04

View File

@ -17,6 +17,13 @@ checklist() {
else else
errorList+=("Critical: Wget is not installed. You will not be able to install any games.") errorList+=("Critical: Wget is not installed. You will not be able to install any games.")
fi fi
for i in cabextract unzip xz ; do
if command -v $i &> /dev/null ; then
echo "${i^} is installed."
else
errorList+=("Critical: ${i^} is not installed. You will not be able to install most games.")
fi
done
if command -v ocrdesktop &> /dev/null ; then if command -v ocrdesktop &> /dev/null ; then
echo "Ocrdesktop is installed." echo "Ocrdesktop is installed."
else else
@ -230,12 +237,12 @@ case "${game}" in
add_launcher "c:\Program Files\bloodshed.exe" add_launcher "c:\Program Files\bloodshed.exe"
;; ;;
"Kitchensinc Games") "Kitchensinc Games")
install_wine_bottle vb6run speechsdk install_wine_bottle vb6run speechsdk dx8vb
wget -O "$WINEPREFIX/drive_c/Program Files/Kitchensinc complete Setup.exe" "https://www.agarchive.net/games/kitchensinc/Kitchensinc%20complete%20Setup.exe" wget -O "$WINEPREFIX/drive_c/Program Files/Kitchen.tar.xz" "https://stormgames.wolfe.casa/downloads/kitchen.tar.xz"
#automate_installer y alt+n alt+n alt+n alt+n alt+i alt+f echo "Extracting files..."
wine "$WINEPREFIX/drive_c/Program Files/Kitchensinc complete Setup.exe" /q tar xf "$WINEPREFIX/drive_c/Program Files/Kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe" add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe"
rm -f "$WINEPREFIX/drive_c/Program Files/Kitchensinc complete Setup.exe" rm -f "$WINEPREFIX/drive_c/Program Files/kitchen.tar.xz"
;; ;;
"Light Cars") "Light Cars")
install_wine_bottle dx8vb vb6run install_wine_bottle dx8vb vb6run