From 87c278d93547b8c234ab3366ca8653238fa19e1b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 4 Aug 2025 20:18:44 -0400 Subject: [PATCH] Fixed a few syntax errors. --- audiogame-manager.sh | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 8b1d75c..599d684 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -71,11 +71,7 @@ game_installer() { # remove games game_removal() { source .includes/bottle.sh - if [[ "$(uname -m)" == "aarch64" ]]; then - # Modern wine is unified - else - # Modern wine is unified - fi + # Modern wine is unified - no architecture-specific wine executables needed mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found." @@ -128,11 +124,7 @@ game_removal() { # kill games that are stuck kill_game() { source .includes/bottle.sh - if [[ "$(uname -m)" == "aarch64" ]]; then - # Modern wine is unified - else - # Modern wine is unified - fi + # Modern wine is unified - no architecture-specific wine executables needed mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) if [[ ${#lines} -eq 0 ]]; then echo "No games found." @@ -247,10 +239,6 @@ custom_launch_parameters() { popd exit 0 fi - if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then - # switch to wine64 for 64 bit prefix. - # Modern wine is unified - no separate wine32/wine64 executables - fi } # Process game launcher flags @@ -332,12 +320,6 @@ game_launcher() { exit 0 fi get_bottle "${game[0]}" - # make sure wine is actually set to something - if [[ "$(uname -m)" == "aarch64" ]]; then - # Modern wine is unified - else - # Modern wine is unified - fi echo -n "launching " wine --version # kill any previous existing wineservers for this prefix in case they didn't shut down properly.