mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
env_vars
This commit is contained in:
parent
83358a270a
commit
c3ae9f030e
@ -1670,7 +1670,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"
|
||||||
@ -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
|
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