aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-15 01:10:29 +0800
committerGuangxiong Lin <[email protected]>2022-04-15 01:10:29 +0800
commit89e390da866092573bfa70c4ce2b524965292563 (patch)
treec631b61392a3883a9d78dc60533c8bbe67ecbe82
parent5740523531630a0f87cf3abb4aa799a6a19d49e2 (diff)
downloaddotfiles-89e390da866092573bfa70c4ce2b524965292563.tar.gz
dotfiles-89e390da866092573bfa70c4ce2b524965292563.tar.bz2
dotfiles-89e390da866092573bfa70c4ce2b524965292563.zip
Allow 3rd party app in macos
-rw-r--r--.macos4
1 files changed, 4 insertions, 0 deletions
diff --git a/.macos b/.macos
index 226f40e..9995687 100644
--- a/.macos
+++ b/.macos
@@ -13,3 +13,7 @@ export BROWSER='open -a safari'
[ -d /Applications/Firefox.app ] && export BROWSER='open -a firefox'
alias bug='brew upgrade --greedy'
+
+if [[ $(spctl --status) == 'assessments enabled' ]]; then
+ sudo spctl --master-disable
+fi