From ba2687f8ad2ef6acf144482f7391306f6c093c47 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 14 Dec 2024 07:27:04 -0500 Subject: [PATCH] Make sure wine is set to something for game removal function. Added game "Soulblaze" --- .install/Soulblaze.sh | 8 ++++++++ audiogame-manager.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 .install/Soulblaze.sh diff --git a/.install/Soulblaze.sh b/.install/Soulblaze.sh new file mode 100644 index 0000000..b134eb2 --- /dev/null +++ b/.install/Soulblaze.sh @@ -0,0 +1,8 @@ +get_installer "soulblaze-win-beta.zip" "https://sword-and-quill.itch.io/soulblaze" +download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" +export WINEARCH=win64 +export winVer="win8" +install_wine_bottle +unzip -d "$WINEPREFIX/drive_c/Program Files/soulblaze" "${cache}/soulblaze-win-beta.zip" +find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; +add_launcher "c:\Program Files\soulblaze\Soulblaze.exe" diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 865df08..c724e31 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -782,6 +782,7 @@ game_installer() { # remove games game_removal() { + wine="${wine:-wine}" mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found."