This commit is contained in:
cheney
2026-08-07 09:49:26 +08:00
parent ac8a4b8cd2
commit dbe04b7da3
16 changed files with 795 additions and 13 deletions
+4
View File
@@ -18,6 +18,10 @@ tauri-build = { version = "2", features = [] }
tauri = { version = "2", features = [] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# 前端 OTA 升级 (运行时覆盖 tauri://localhost 资源, 不动 Tauri 框架/原生层)
# 见 docs/architecture.md - 通过替换 Assets provider, webview 仍走 tauri:// 协议,
# 但优先从 AppData 读, 缺失回退到内置 dist
tauri-plugin-hotswap = "0.0.4"
# Android 平台需要的 JNI / Activity 启动能力
[target."cfg(target_os = \"android\")".dependencies]