Skip to content

Instantly share code, notes, and snippets.

@superdaigo
Last active February 7, 2022 01:13
Show Gist options
  • Save superdaigo/4880e9b62df97986d29590038cccbdd2 to your computer and use it in GitHub Desktop.
Save superdaigo/4880e9b62df97986d29590038cccbdd2 to your computer and use it in GitHub Desktop.
Block mac apps from launching. Applications that unable to uninstall form mac can be blocked.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadType</key>
<string>com.apple.applicationaccess.new</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadIdentifier</key>
<string>com.apple.applicationaccess.0D4C5E0E-93D0-467E-8473-534E0C95D237</string>
<key>PayloadUUID</key>
<string>0D4C5E0E-93D0-467E-8473-534E0C95D237</string>
<key>PayloadDisplayName</key>
<string>Block Specified Applications From Launching</string>
<key>pathBlackList</key>
<array>
<string>/Applications/Music.app/</string>
<string>/Applications/FaceTime.app/</string>
<string>/Applications/Mail.app/</string>
<string>/Applications/Messages.app/</string>
<string>/System/Applications/Music.app/</string>
<string>/System/Applications/FaceTime.app/</string>
<string>/System/Applications/Mail.app/</string>
<string>/System/Applications/Messages.app/</string>
</array>
<key>familyControlsEnabled</key>
<true/>
<key>pathWhiteList</key>
<array>
<string>/</string>
</array>
<key>whiteList</key>
<array>
</array>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Block Apps From Launching</string>
<key>PayloadIdentifier</key>
<string>2A108B8F-9BFD-46C1-9ECE-C76E37C073B3</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>2F4A5CCB-AAAE-43AC-96D2-788573F7865F</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment