Experimental code for supporting aarch64 architecture.
This commit is contained in:
parent
038d784ba2
commit
7ec0035fb4
@ -566,7 +566,10 @@ install_wine() {
|
|||||||
fi
|
fi
|
||||||
# Figure out wineInstallationPath
|
# Figure out wineInstallationPath
|
||||||
wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1"
|
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.
|
# If the path exists, wine should already be installed.
|
||||||
# Just make sure we didn't wind up with a empty directory for some reason
|
# Just make sure we didn't wind up with a empty directory for some reason
|
||||||
rmdir "${wineInstallationPath}" 2> /dev/null
|
rmdir "${wineInstallationPath}" 2> /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user