From 7a9dfa0332be83d18e84ff11c73d7b0f518e621c Mon Sep 17 00:00:00 2001 From: borja Date: Tue, 25 Feb 2025 11:51:54 +0100 Subject: [PATCH] remove the extension as it might not be needed and pushes a Settings window to the foreground all the time --- check_stats.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/check_stats.sh b/check_stats.sh index 35496b0..d83534b 100755 --- a/check_stats.sh +++ b/check_stats.sh @@ -1,9 +1,13 @@ #!/bin/bash # Define the processes to check +# processes=( +# "/Applications/Stats.app/Contents/MacOS/Stats" +# "/Applications/Stats.app/Contents/PlugIns/WidgetsExtension.appex/Contents/MacOS/WidgetsExtension" +# ) + processes=( "/Applications/Stats.app/Contents/MacOS/Stats" - "/Applications/Stats.app/Contents/PlugIns/WidgetsExtension.appex/Contents/MacOS/WidgetsExtension" ) # Function to check if a process is running