From eff26b3c04e7994eb4573078d9ab0e2d909a0fac Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 4 Sep 2020 18:45:45 -0400 Subject: [PATCH] Updated kitchens inc games installer. --- audiogame-manager.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index dba2b7a..715cdd7 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -17,6 +17,13 @@ checklist() { else errorList+=("Critical: Wget is not installed. You will not be able to install any games.") 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 echo "Ocrdesktop is installed." else @@ -230,12 +237,12 @@ case "${game}" in add_launcher "c:\Program Files\bloodshed.exe" ;; "Kitchensinc Games") - install_wine_bottle vb6run speechsdk - wget -O "$WINEPREFIX/drive_c/Program Files/Kitchensinc complete Setup.exe" "https://www.agarchive.net/games/kitchensinc/Kitchensinc%20complete%20Setup.exe" - #automate_installer y alt+n alt+n alt+n alt+n alt+i alt+f - wine "$WINEPREFIX/drive_c/Program Files/Kitchensinc complete Setup.exe" /q + install_wine_bottle vb6run speechsdk dx8vb + wget -O "$WINEPREFIX/drive_c/Program Files/Kitchen.tar.xz" "https://stormgames.wolfe.casa/downloads/kitchen.tar.xz" + echo "Extracting files..." + 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" - rm -f "$WINEPREFIX/drive_c/Program Files/Kitchensinc complete Setup.exe" + rm -f "$WINEPREFIX/drive_c/Program Files/kitchen.tar.xz" ;; "Light Cars") install_wine_bottle dx8vb vb6run