Verify (Gitea) / gate (build · unit · facts) (push) Successful in 1m8s
- lib.rs:新增 open_browser_window(label=browser 单窗口复用,原生 navigate 导航, 只放行 http/https),以及 browser_control(back/forward/reload/close)、 browser_state(open/url)两个主窗口发起的控制命令。 - 窗口几何按 label 存取:主窗口沿用 window-geom.json,浏览器窗口用 browser-geom.json (下限 800x600,换显示器只恢复尺寸)。 - 修 CloseRequested 对非 main 窗口也 prevent_close 的问题:此前浏览器窗口点 ✕ 只是被隐藏, 页面/音频在后台继续跑且再也关不掉。现在非 main 窗口正常销毁。 - 同步源仓新增 browser 插件(上架白名单 + meta 展示信息 + 产物 plugin-browser.1bcb58.js)。
38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[package]
|
|
name = "image-workbench"
|
|
version = "3.25.22"
|
|
description = "无限画布 · 生图工作台桌面版"
|
|
authors = ["malongan"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2024"
|
|
rust-version = "1.90"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "image_workbench_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.7.4", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
# tray-icon:系统托盘(关闭窗口收进托盘而不是退出)
|
|
# tray-icon:系统托盘;image-png:托盘用单色 PNG 模板图标
|
|
tauri = { version = "2.12.5", features = ["tray-icon", "image-png"] }
|
|
url = "2"
|
|
tauri-plugin-log = "2"
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-fs = "2"
|
|
tauri-plugin-http = "2"
|
|
tauri-plugin-updater = "2"
|
|
tauri-plugin-single-instance = "2"
|
|
tauri-plugin-notification = "2"
|
|
arboard = "3"
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
base64 = "0.22"
|