Experimental code for supporting aarch64 architecture.

This commit is contained in:
Storm Dragon 2024-12-12 19:13:55 -05:00
parent 038d784ba2
commit 7ec0035fb4

View File

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