Last active
April 3, 2024 12:42
-
-
Save apisandipas/765803fe8a6f8a14fb985b0fb2b87b11 to your computer and use it in GitHub Desktop.
De-quarantine an app on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
codesign --sign - --force --deep /Applications/VSCodium.app | |
xattr -d com.apple.quarantine /Applications/VSCodium.app |
$@
xattr -cr /Applications/"X.app" && codesign --force --deep --sign - /Applications/"X.app"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alias allow_app='codesign --sign - --force --deep @$
&& xattr -d com.apple.quarantine @$'