revert and add 3rd dir

This commit is contained in:
sysmoon14 2024-03-01 15:32:45 +00:00 committed by GitHub
parent 99ab8e45ac
commit a0ec6cd09f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2726,10 +2726,12 @@ fi
# 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
if [ ! -d $deckydir ]; then
if [ ! -d "$dir1" ] && [ ! -d "$dir2" ] && [ ! -d "$dir3" ]; then
# Detach script from Steam process
nohup sh -c 'sleep 10; /usr/bin/steam' &