add speech component
This commit is contained in:
@@ -26,6 +26,11 @@ icons = [
|
||||
"resources/icon.ico",
|
||||
]
|
||||
|
||||
# Merged over the generated Info.plist; required for the speech input to
|
||||
# request microphone and speech recognition access on macOS.
|
||||
[package.metadata.packager.macos]
|
||||
info_plist_path = "resources/Info.plist"
|
||||
|
||||
[dependencies]
|
||||
assets = { path = "../crates/assets" }
|
||||
workspace = { path = "../crates/workspace" }
|
||||
|
||||
@@ -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>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>Dictate text into messages.</string>
|
||||
<key>NSSpeechRecognitionUsageDescription</key>
|
||||
<string>Turn your speech into text.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user