diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index b1c0b44..d002127 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -1670,7 +1670,7 @@ wait > ${logged_in_home}/.config/systemd/user/env_vars -# Function to handle common operations +# Function to write to env_vars set_launcher_vars() { local launcher_path="$1" local launcher_name="$2" @@ -1689,7 +1689,7 @@ set_launcher_vars() { } -# Checking Files For Shortcuts and Setting Directories For Shortcuts +# Checking Files For Shortcuts and Setting Directories for env_vars if [[ -f "$epic_games_launcher_path1" ]]; then set_launcher_vars "$epic_games_launcher_path1" "epic" " -opengl" "NonSteamLaunchers" elif [[ -f "$epic_games_launcher_path2" ]]; then