Moved the check for wine for FEXLoader to the right place. Oops.
This commit is contained in:
parent
e017284d80
commit
72dcf570ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user