From 208c83e1df0157e23b83278cc2eaed5666abf5fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=86=80=E5=8D=93=E7=96=8C?=
<55120045+WowbaggersLiquidLunch@users.noreply.github.com>
Date: Mon, 18 Apr 2022 02:06:12 +0800
Subject: [PATCH] add microphone entitlement for macOS build
Added the `NSMicrophoneUsageDescription` entitlement key, along with an explanation message for this entitlement.
---
cmake/MacOSXBundleInfo.plist.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmake/MacOSXBundleInfo.plist.in b/cmake/MacOSXBundleInfo.plist.in
index 050123ee..3302244f 100644
--- a/cmake/MacOSXBundleInfo.plist.in
+++ b/cmake/MacOSXBundleInfo.plist.in
@@ -36,5 +36,7 @@
NSHumanReadableCopyright
${MACOSX_BUNDLE_COPYRIGHT}
+ NSMicrophoneUsageDescription
+ MultiMC does not need access to your microphone for itself. Likely it's requesting it on behalf of a Minecraft mod you installed, which needs to access your microphone in order to function properly.