mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2025-01-02 21:21:51 +01:00
Update NonSteamLaunchers.sh
This commit is contained in:
parent
16fccdf28f
commit
b790853c61
@ -1665,7 +1665,7 @@ wait
|
|||||||
> ${logged_in_home}/.config/systemd/user/env_vars
|
> ${logged_in_home}/.config/systemd/user/env_vars
|
||||||
|
|
||||||
|
|
||||||
# Function to handle common operations
|
# Function to write to env_vars
|
||||||
set_launcher_vars() {
|
set_launcher_vars() {
|
||||||
local launcher_path="$1"
|
local launcher_path="$1"
|
||||||
local launcher_name="$2"
|
local launcher_name="$2"
|
||||||
@ -1684,7 +1684,7 @@ set_launcher_vars() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Checking Files For Shortcuts and Setting Directories For Shortcuts
|
# Checking Files For Shortcuts and Setting Directories For Shortcuts for env_vars
|
||||||
if [[ -f "$epic_games_launcher_path1" ]]; then
|
if [[ -f "$epic_games_launcher_path1" ]]; then
|
||||||
set_launcher_vars "$epic_games_launcher_path1" "epic" " -opengl" "NonSteamLaunchers"
|
set_launcher_vars "$epic_games_launcher_path1" "epic" " -opengl" "NonSteamLaunchers"
|
||||||
elif [[ -f "$epic_games_launcher_path2" ]]; then
|
elif [[ -f "$epic_games_launcher_path2" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user