From 1682d0bd188201d56e4cacfa0403859d2234bef6 Mon Sep 17 00:00:00 2001 From: Bruno21 Date: Thu, 23 Jul 2026 18:37:36 +0200 Subject: [PATCH] install.sh -clear quarantine flag in plugins install --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 308ef31..a466d83 100755 --- a/install.sh +++ b/install.sh @@ -3,6 +3,7 @@ italic="\033[3m" underline="\033[4m" bold="\033[1m" +yellow="\033[0;33m" reset="\033[0m" KYMSU_PATH=`pwd` @@ -28,6 +29,16 @@ rm -rf $pluginpath echo -e "Copying plugins in ${bold}$pluginpath${reset} ..." cp -R "${KYMSU_PATH}/plugins.d" $HOME/.kymsu +for F in $HOME/.kymsu/plugins.d/*.sh +do + q=$(xattr -l "$F" | grep "com.apple.quarantine") + + if [ "$q" != "" ]; then + echo -e "${yellow}Clear quarantine flag...${reset}" + xattr -d com.apple.quarantine "$F" + fi +done + if [ -n "$disabled" ]; then echo -e "Disabling previous disabled plugins ..."