feat: GUI 端新增解码功能 — 选择图片解码 QR 码

- 新增 decode_qr Tauri command(接收图片字节,返回解码文本)
- ExportPanel 新增「选择图片解码」按钮 + 解码结果展示
- fs:allow-read-file 权限,支持 /c/Users/33644 和 C:\Users\33644\AppData\Local\Temp 路径
This commit is contained in:
2026-06-19 20:39:07 +08:00
parent effc88c6d7
commit 11fbe20102
4 changed files with 57 additions and 3 deletions
+4
View File
@@ -11,6 +11,10 @@
{
"identifier": "fs:allow-write-file",
"allow": [{ "path": "$HOME/**" }]
},
{
"identifier": "fs:allow-read-file",
"allow": [{ "path": "$HOME/**" }, { "path": "$TEMP/**" }]
}
]
}