From 72dcf570ad33a622cf5a0041adc0f468e9082f91 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 22:12:55 -0500 Subject: [PATCH] Moved the check for wine for FEXLoader to the right place. Oops. --- audiogame-manager.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index bfd17e0..a54c357 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -566,11 +566,7 @@ install_wine() { fi # Figure out wineInstallationPath wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" - wine="${wineInstallationPath}/bin/wine" - if [[ "$(uname -m)" == "aarch64" ]]; then - wine="FEXLoader -- /usr/bin/wine" - fi - export wine + export wine="${wineInstallationPath}/bin/wine" # If the path exists, wine should already be installed. # Just make sure we didn't wind up with a empty directory for some reason rmdir "${wineInstallationPath}" 2> /dev/null @@ -1345,6 +1341,7 @@ gameList=( # Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64 if [[ "$(uname -m)" == "aarch64" ]]; then minimumDependencies=("FEXLoader") + wine="FEXLoader -- /usr/bin/wine" else minimumDependencies=("curl" "sox" "wine") fi