mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
Update NonSteamLaunchers.sh
Added env var for EA App
This commit is contained in:
parent
48632c680e
commit
2288142287
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user