Files
dudu/desktop/src-tauri/Info.plist
T
wangjia cef58e658b
ci / server (push) Failing after 10s
ci / design-system (push) Failing after 11s
fix(desktop): 补 NSMicrophoneUsageDescription(macOS 打包版麦克风授权)
缺该键时 macOS 不弹授权框、直接返回静音——真机按住说话有会话但识别不出内容(audio_seconds 有值而 provider_ms=0)。Tauri 2 打包自动合并本 Info.plist。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 20:48:41 +08:00

11 lines
513 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>
<!-- macOS 打包版必须声明麦克风用途,否则系统不弹授权框、直接返回静音。
Tauri 2 打包时自动合并本文件到最终 .app 的 Info.plist。 -->
<key>NSMicrophoneUsageDescription</key>
<string>dudu 需要使用麦克风采集你的语音,实时识别为文字上屏。</string>
</dict>
</plist>