Improve security by enabling hardened runtime for macOS

This change also fixes a bug on recent versions of macOS where Minecraft mods that requested access to the microphone would silently fail.
This commit is contained in:
Kenneth Chew
2022-04-17 21:52:46 -04:00
parent f13c776099
commit 9462dd3ddc
3 changed files with 18 additions and 1 deletions

View File

@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSCameraUsageDescription</key>
<string>A Minecraft mod wants to access your camera.</string>
<key>NSMicrophoneUsageDescription</key>
<string>A Minecraft mod wants to access your microphone.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>