Make sure wine is set to something for game removal function. Added game "Soulblaze"

This commit is contained in:
Storm Dragon 2024-12-14 07:27:04 -05:00
parent 8ef2532521
commit ba2687f8ad
2 changed files with 9 additions and 0 deletions

8
.install/Soulblaze.sh Normal file
View File

@ -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"

View File

@ -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."