Add script to remove quarantine bit from Apps

This commit is contained in:
Philip Henning 2023-07-05 15:04:21 +02:00
parent d59bf130cd
commit c97f4c5562
2 changed files with 12 additions and 1 deletions

View file

@ -122,6 +122,9 @@ dotfiles:
f_rpki:
dst: ~/.bin/rpki
src: bin/rpki
f_rmquarantine:
dst: ~/.bin/rmquarantine
src: bin/rmquarantine
profiles:
AINCRAD:
dotfiles:
@ -278,3 +281,4 @@ profiles:
- f_dotdrop.sh
- f_pu
- f_rpki
- f_rmquarantine

7
dotfiles/bin/rmquarantine Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env zsh
#
# {{@@ header() @@}}
#
xattr -r -d com.apple.quarantine ${1}