mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Sysmoon check
This commit is contained in:
parent
beecd66a64
commit
2ccc9b3acb
@ -2720,11 +2720,12 @@ fi
|
||||
|
||||
|
||||
|
||||
# Directory to be checked
|
||||
dir="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDecky"
|
||||
# Directories to be checked
|
||||
dir1="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDecky"
|
||||
dir2="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDeckytest-main"
|
||||
|
||||
# Check if directory does not exist
|
||||
if [ ! -d "$dir" ]; then
|
||||
# Check if either directory does not exist
|
||||
if [ ! -d "$dir1" ] || [ ! -d "$dir2" ]; then
|
||||
# Detach script from Steam process
|
||||
nohup sh -c 'sleep 10; /usr/bin/steam' &
|
||||
|
||||
@ -2749,6 +2750,7 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
#Setup NSLGameScanner.service
|
||||
python_script_path="${logged_in_home}/.config/systemd/user/NSLGameScanner.py"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user