功能: - Tauri v2 GUI 应用 - 系统托盘支持 - 日志输出到文件 - 带时间戳的版本号 - 前端资源嵌入 修复: - 前端路径使用相对路径 - 移除 devUrl 配置 - 窗口置顶设置
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
||
"$schema": "https://schema.tauri.app/tauri-conf-schema-v2",
|
||
"productName": "impress-asr-input-rust",
|
||
"version": "0.1.0",
|
||
"identifier": "com.impress.asr-input-rust",
|
||
"build": {
|
||
"frontendDist": "web/dist",
|
||
"beforeDevCommand": "cd web && npm run dev",
|
||
"beforeBuildCommand": "cd web && npm run build",
|
||
"devUrl": null
|
||
},
|
||
"app": {
|
||
"windows": [
|
||
{
|
||
"title": "impress ASR Input",
|
||
"width": 1000,
|
||
"height": 700,
|
||
"minWidth": 800,
|
||
"minHeight": 600,
|
||
"resizable": true,
|
||
"fullscreen": false,
|
||
"decorations": true,
|
||
"transparent": false,
|
||
"center": true,
|
||
"visible": true,
|
||
"theme": "Dark"
|
||
}
|
||
],
|
||
"security": {
|
||
"csp": null
|
||
}
|
||
},
|
||
"bundle": {
|
||
"active": true,
|
||
"targets": ["msi"],
|
||
"category": "Utility",
|
||
"shortDescription": "高性能语音识别输入工具",
|
||
"longDescription": "一款基于 ONNX 模型的纯 Rust 实现的高性能跨平台语音识别工具,支持 SenseVoice 等模型,1 秒内完成语音识别。",
|
||
"copyright": "MIT License",
|
||
"resources": [
|
||
"models/*"
|
||
]
|
||
},
|
||
"plugins": {
|
||
"tray-icon": {
|
||
"iconPath": "icons/tray-icon.png",
|
||
"iconAsTemplate": true
|
||
}
|
||
}
|
||
}
|