mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
WS1 support (remove sudo)
Removing sudo from notify command.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user