Updated FEXLoader to use /usr/bin/wine because it should be in that path, and using command to locate it will not work.
This commit is contained in:
parent
9f8fd947c9
commit
e017284d80
@ -568,7 +568,7 @@ install_wine() {
|
|||||||
wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1"
|
wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1"
|
||||||
wine="${wineInstallationPath}/bin/wine"
|
wine="${wineInstallationPath}/bin/wine"
|
||||||
if [[ "$(uname -m)" == "aarch64" ]]; then
|
if [[ "$(uname -m)" == "aarch64" ]]; then
|
||||||
wine="FEXLoader -- ${wine}"
|
wine="FEXLoader -- /usr/bin/wine"
|
||||||
fi
|
fi
|
||||||
export wine
|
export wine
|
||||||
# If the path exists, wine should already be installed.
|
# If the path exists, wine should already be installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user