Update NonSteamLaunchers.sh

This commit is contained in:
Roy 2024-02-27 07:01:14 -08:00 committed by GitHub
parent 2ccc9b3acb
commit 1f41ecb9ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2725,7 +2725,7 @@ dir1="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDecky"
dir2="${logged_in_home}/homebrew/plugins/NonSteamLaunchersDeckytest-main"
# Check if either directory does not exist
if [ ! -d "$dir1" ] || [ ! -d "$dir2" ]; then
if [ ! -d "$dir1" ] && [ ! -d "$dir2" ]; then
# Detach script from Steam process
nohup sh -c 'sleep 10; /usr/bin/steam' &
@ -2751,6 +2751,7 @@ fi
#Setup NSLGameScanner.service
python_script_path="${logged_in_home}/.config/systemd/user/NSLGameScanner.py"