From 358e12306883db01207f5e3621a881c4155578cc Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 5 Jul 2020 20:18:42 -0600 Subject: [PATCH] update permission request notification --- _webi/template.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/_webi/template.sh b/_webi/template.sh index 4a2e750..bb4b24e 100644 --- a/_webi/template.sh +++ b/_webi/template.sh @@ -242,8 +242,14 @@ _webi_enable_exec() { is_allowed="$(spctl -a "$pkg_src_cmd" 2>&1 | grep valid)" set -e if [ -z "$is_allowed" ]; then - echo "Requesting permission to execute '$pkg_cmd_name' on Catalina and macOS 11+" - sleep 1 + echo "" + echo "##########################################" + echo "# IMPORTANT: Permission Grant Required #" + echo "##########################################" + echo "" + echo "Requesting permission to execute '$pkg_cmd_name' on macOS 10.14+" + echo "" + sleep 3 spctl --add "$pkg_src_cmd" fi fi -- 2.25.1