fix(desktop): 补 NSMicrophoneUsageDescription(macOS 打包版麦克风授权)
缺该键时 macOS 不弹授权框、直接返回静音——真机按住说话有会话但识别不出内容(audio_seconds 有值而 provider_ms=0)。Tauri 2 打包自动合并本 Info.plist。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user