chore(osx): improve on gatekeeper snippets

This commit is contained in:
Michele Cereda
2024-10-24 09:05:43 +02:00
parent 2997d5cfd1
commit c54b2cf9a4
2 changed files with 14 additions and 2 deletions

View File

@@ -179,10 +179,10 @@ dscl '.' -read "/Users/$USER" 'UserShell'
# Bypass Gatekeeper for currently installed versions.
xattr -c '/Applications/Zen Browser.app/'
xattr -c '/path/to/app.app'
# Bypass Gatekeeper for all versions of apps.
xattr -d 'com.apple.quarantine' '/Applications/LibreWolf.app/'
xattr -d 'com.apple.quarantine' '/path/to/app.app'
```
## Taking screenshots