fix: Tauri 窗口 1280x820(最小 1080x700)、identifier 更正、麦克风权限声明;VoiceInput 三通路(SR/录音上传/文本兜底)

This commit is contained in:
Jayway Liu
2026-10-04 07:55:12 +08:00
parent e022faf975
commit 6c01e84876
6 changed files with 196 additions and 91 deletions
+2 -2
View File
@@ -15,12 +15,12 @@ name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.7.1" }
tauri-build = { version = "2.7.1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
tauri = { version = "2.12.1" }
tauri = { version = "2.12.1", features = [] }
tauri-plugin-log = "2"
tauri-plugin-sql = { version = "2", features = ["sqlite"] }
+32
View File
@@ -0,0 +1,32 @@
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>苍梧疑冢</string>
<key>CFBundleExecutable</key>
<string>app</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundleIdentifier</key>
<string>cn.sciark.jevmatch</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>jev-dating-match</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<key>CFBundleVersion</key>
<string>0.1.0</string>
<key>LSMinimumSystemVersion</key>
<string>13.0</string>
<key>NSMicrophoneUsageDescription</key>
<string>苍梧疑冢需要麦克风来进行剧情讲述的语音输入;音频仅用于实时转写,不会保存原始录音。</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
+5 -3
View File
@@ -2,7 +2,7 @@
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "jev-dating-match",
"version": "0.1.0",
"identifier": "com.tauri.dev",
"identifier": "cn.sciark.jevmatch",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
@@ -13,8 +13,10 @@
"windows": [
{
"title": "苍梧疑冢",
"width": 800,
"height": 600,
"width": 1280,
"height": 820,
"minWidth": 1080,
"minHeight": 700,
"resizable": true,
"fullscreen": false
}