Sysmoon check

This commit is contained in:
Roy 2024-02-27 06:54:27 -08:00 committed by GitHub
parent beecd66a64
commit 2ccc9b3acb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"