From 9e0bfd5818d426f85016227516bf5c99bcf841a5 Mon Sep 17 00:00:00 2001 From: Mike Matter Date: Wed, 11 May 2022 11:33:33 -0500 Subject: [PATCH] WS1 support (remove sudo) Removing sudo from notify command. --- Installomator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installomator.sh b/Installomator.sh index a520aed..a6b4bb3 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -374,7 +374,7 @@ displaynotification() { # $1: message $2: title if [[ -x "$manageaction" ]]; then "$manageaction" -message "$message" -title "$title" elif [[ -x "$hubcli" ]]; then - sudo "$hubcli" notify -t "$title" -i "$message" -c "Dismiss" + "$hubcli" notify -t "$title" -i "$message" -c "Dismiss" else runAsUser osascript -e "display notification \"$message\" with title \"$title\"" fi