From 7ec0035fb4d3989f3c8256200a8dd004d9a48ae1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Dec 2024 19:13:55 -0500 Subject: [PATCH] Experimental code for supporting aarch64 architecture. --- audiogame-manager.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 90a3e61..fe077d8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -566,7 +566,10 @@ install_wine() { fi # Figure out wineInstallationPath wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" - export wine="${wineInstallationPath}/bin/wine" + wine="${wineInstallationPath}/bin/wine" + if [[ "$(uname -m)" == "aarch64" ]]; then + wine="FEXLoader -- ${wine}" + fi # 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