diff options
author | Guangxiong Lin <[email protected]> | 2022-04-15 01:10:29 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-15 01:10:29 +0800 |
commit | 89e390da866092573bfa70c4ce2b524965292563 (patch) | |
tree | c631b61392a3883a9d78dc60533c8bbe67ecbe82 | |
parent | 5740523531630a0f87cf3abb4aa799a6a19d49e2 (diff) | |
download | dotfiles-89e390da866092573bfa70c4ce2b524965292563.tar.gz dotfiles-89e390da866092573bfa70c4ce2b524965292563.tar.bz2 dotfiles-89e390da866092573bfa70c4ce2b524965292563.zip |
Allow 3rd party app in macos
-rw-r--r-- | .macos | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |