Update NonSteamLaunchers.sh

Added env var for EA App
This commit is contained in:
sysmoon14 2024-01-23 22:29:59 +00:00 committed by GitHub
parent 48632c680e
commit 2288142287
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2382,11 +2382,15 @@ if [[ -f "$eaapp_path1" ]]; then
eaappshortcutdirectory="\"$eaapp_path1\"" eaappshortcutdirectory="\"$eaapp_path1\""
eaapplaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%" eaapplaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%"
eaappstartingdir="\"$(dirname "$eaapp_path1")\"" eaappstartingdir="\"$(dirname "$eaapp_path1")\""
echo "export ea_app_launcher=NonSteamLaunchers" >> ${logged_in_home}/.config/systemd/user/env_vars
echo "EA App Launcher found at path 1"
elif [[ -f "$eaapp_path2" ]]; then elif [[ -f "$eaapp_path2" ]]; then
# EA App Launcher is installed at path 2 # EA App Launcher is installed at path 2
eaappshortcutdirectory="\"$eaapp_path2\"" eaappshortcutdirectory="\"$eaapp_path2\""
eaapplaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/TheEAappLauncher/\" %command%" eaapplaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/TheEAappLauncher/\" %command%"
eaappstartingdir="\"$(dirname "$eaapp_path2")\"" eaappstartingdir="\"$(dirname "$eaapp_path2")\""
echo "export ea_app_launcher=TheEAappLauncher" >> ${logged_in_home}/.config/systemd/user/env_vars
echo "EA App Launcher found at path 2"
fi fi
if [[ -f "$amazongames_path1" ]]; then if [[ -f "$amazongames_path1" ]]; then