From 89e390da866092573bfa70c4ce2b524965292563 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 15 Apr 2022 01:10:29 +0800 Subject: Allow 3rd party app in macos --- .macos | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.macos') 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 -- cgit v1.2.3