mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
revert and add 3rd dir
This commit is contained in:
parent
99ab8e45ac
commit
a0ec6cd09f
@ -2726,10 +2726,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# Directories to be checked
|
# Directories to be checked
|
||||||
deckydir="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDecky*"
|
dir1="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDecky"
|
||||||
|
dir2="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDeckytest-main"
|
||||||
|
dir3="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDeckytest-no-service-file"
|
||||||
|
|
||||||
# Check if either directory does not exist
|
# Check if either directory does not exist
|
||||||
if [ ! -d $deckydir ]; then
|
if [ ! -d "$dir1" ] && [ ! -d "$dir2" ] && [ ! -d "$dir3" ]; then
|
||||||
# Detach script from Steam process
|
# Detach script from Steam process
|
||||||
nohup sh -c 'sleep 10; /usr/bin/steam' &
|
nohup sh -c 'sleep 10; /usr/bin/steam' &
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user