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

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