Файли
openidea/src-tauri/Info.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

15 рядки
702 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>
<!-- Merged into the bundle's Info.plist by Tauri. Without these strings macOS denies
camera and microphone access silently, for the web view and for programs run
from the IDE (terminal, run configurations), and never lists the app in
Privacy & Security. -->
<key>NSCameraUsageDescription</key>
<string>A program started in OpenIDEA wants to use the camera.</string>
<key>NSMicrophoneUsageDescription</key>
<string>A program started in OpenIDEA wants to use the microphone.</string>
</dict>
</plist>