This commit is contained in:
Roy 2023-12-26 22:20:01 -08:00 committed by GitHub
parent a4bcfd4e0d
commit 1eb6b0d9a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2538,12 +2538,12 @@ fi
if [[ -f "$battlenet_path1" ]]; then if [[ -f "$battlenet_path1" ]]; then
# Battlenet Launcher is installed at path 1 # Battlenet Launcher is installed at path 1
battlenetshortcutdirectory="\"$battlenet_path1\"" battlenetshortcutdirectory="\"$battlenet_path1\""
battlenetlaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%" battlenetlaunchoptions="WINE_SIMULATE_WRITECOPY=1 %command% STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%"
battlenetstartingdir="\"$(dirname "$battlenet_path1")\"" battlenetstartingdir="\"$(dirname "$battlenet_path1")\""
elif [[ -f "$battlenet_path2" ]]; then elif [[ -f "$battlenet_path2" ]]; then
# Battlenet Launcher is installed at path 2 # Battlenet Launcher is installed at path 2
battlenetshortcutdirectory="\"$battlenet_path2\"" battlenetshortcutdirectory="\"$battlenet_path2\""
battlenetlaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/Battle.netLauncher/\" %command%" battlenetlaunchoptions="WINE_SIMULATE_WRITECOPY=1 %command% STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/Battle.netLauncher/\" %command%"
battlenetstartingdir="\"$(dirname "$battlenet_path2")\"" battlenetstartingdir="\"$(dirname "$battlenet_path2")\""
fi fi