Файли
openidea/src-tauri/Entitlements.plist
T
Serbin Yaroslavтаwislert 6d576e8ff5 fix(macos): ask for camera and microphone access instead of denying it silently (#8104)
Programs started from the IDE (terminal, run configurations) and web views could never use the camera or microphone on macOS: the request was refused without a prompt and OpenIDEA was never listed under Privacy & Security. The bundle now declares NSCameraUsageDescription and NSMicrophoneUsageDescription (src-tauri/Info.plist, merged by Tauri) and the hardened runtime gets the com.apple.security.device.camera and device.audio-input entitlements, so macOS asks the user instead.

Co-authored-by: wislert <[email protected]>
2026-12-05 10:34:47 +08:00

23 рядки
993 B
Plaintext

<?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>
<!-- wasmtime (plugin host) compiles WebAssembly to native code at runtime. -->
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<!-- Let main honour DYLD_FRAMEWORK_PATH when it re-execs into the WebKit
staged by a Safari update on macOS 11 / pre-15.4 12. The staged
framework is Apple-signed, so library validation stays enabled. -->
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<!-- The hardened runtime blocks capture devices without these, even with the usage
strings in Info.plist; programs run from the IDE are attributed to the app. -->
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist>