From 2ccc9b3acbac0551941826461be79d74da09a4ae Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Tue, 27 Feb 2024 06:54:27 -0800 Subject: [PATCH] Sysmoon check --- NonSteamLaunchers.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 68d8db1..837044e 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -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"