From c97f4c55627b0f7626d0c5db0376f058006a0f85 Mon Sep 17 00:00:00 2001 From: shokinn Date: Wed, 5 Jul 2023 15:04:21 +0200 Subject: [PATCH] Add script to remove quarantine bit from Apps --- config.yaml | 6 +++++- dotfiles/bin/rmquarantine | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 dotfiles/bin/rmquarantine diff --git a/config.yaml b/config.yaml index eda7479..a0fb32e 100644 --- a/config.yaml +++ b/config.yaml @@ -122,6 +122,9 @@ dotfiles: f_rpki: dst: ~/.bin/rpki src: bin/rpki + f_rmquarantine: + dst: ~/.bin/rmquarantine + src: bin/rmquarantine profiles: AINCRAD: dotfiles: @@ -277,4 +280,5 @@ profiles: - f_zprofile - f_dotdrop.sh - f_pu - - f_rpki \ No newline at end of file + - f_rpki + - f_rmquarantine \ No newline at end of file diff --git a/dotfiles/bin/rmquarantine b/dotfiles/bin/rmquarantine new file mode 100755 index 0000000..ba29b84 --- /dev/null +++ b/dotfiles/bin/rmquarantine @@ -0,0 +1,7 @@ +#!/usr/bin/env zsh + +# +# {{@@ header() @@}} +# + +xattr -r -d com.apple.quarantine ${1}