install.sh

-clear quarantine flag in plugins install
This commit is contained in:
2026-07-23 18:37:36 +02:00
parent ada7ab40cd
commit 1682d0bd18
+11
View File
@@ -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 ..."