From 228814228719925a5a5895f9a79c12d1ce96bb9a Mon Sep 17 00:00:00 2001 From: sysmoon14 <61550824+sysmoon14@users.noreply.github.com> Date: Tue, 23 Jan 2024 22:29:59 +0000 Subject: [PATCH] Update NonSteamLaunchers.sh Added env var for EA App --- NonSteamLaunchers.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 7bcbc71..3c7e935 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -2382,11 +2382,15 @@ if [[ -f "$eaapp_path1" ]]; then eaappshortcutdirectory="\"$eaapp_path1\"" eaapplaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/\" %command%" 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 # EA App Launcher is installed at path 2 eaappshortcutdirectory="\"$eaapp_path2\"" eaapplaunchoptions="STEAM_COMPAT_DATA_PATH=\"${logged_in_home}/.local/share/Steam/steamapps/compatdata/TheEAappLauncher/\" %command%" 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 if [[ -f "$amazongames_path1" ]]; then