Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

Add Microphone/camera/network access info.plist descriptions to game launchers

NotProtonNot42fd7781ec27
diff --git a/dylib/feats/compat_run.sh b/dylib/feats/compat_run.sh
index 77c8562..ec3c5cc 100755
--- a/dylib/feats/compat_run.sh
+++ b/dylib/feats/compat_run.sh
@@ -1279,6 +1279,9 @@ cat > "$loader_contents/Info.plist" <<PLIST
<key>LSApplicationCategoryType</key><string>public.app-category.games</string>
<key>NSHighResolutionCapable</key><true/>
<key>NSPrincipalClass</key><string>NSApplication</string>
+ <key>NSMicrophoneUsageDescription</key><string>This game would like to access your microphone.</string>
+ <key>NSCameraUsageDescription</key><string>This game would like to access your camera.</string>
+ <key>NSLocalNetworkUsageDescription</key><string>This game would like to access devices on your local network.</string>
$uielement_arg
$icon_arg
</dict>