这是一个测试分支,用于rust最新包更新与适配

This commit is contained in:
黑先森
2025-01-10 18:42:02 +08:00
parent 6fd3b999d7
commit 0a17c269ea
2 changed files with 8 additions and 8 deletions
+7 -7
View File
@@ -18,14 +18,14 @@ name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.0.3", features = [] }
tauri-build = { version = "2.0.4", features = [] }
# prost-build = "0.13.2"
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.135"
serde = { version = "1.0.217", features = ["derive"] }
log = "0.4"
tauri = { version = "2.1.1", features = [
tauri = { version = "2.2.0", features = [
"tray-icon",
"image-png",
"image-ico",
@@ -33,15 +33,15 @@ tauri = { version = "2.1.1", features = [
tauri-plugin-log = "2.2.0"
tauri-plugin-shell = "2.2.0"
reqwest = { version = "0.12", features = ["json"] }
reqwest = { version = "0.12.12", features = ["json"] }
zip = "2.2.2"
sysinfo = '0.33.1'
planif = { git = "https://github.com/mattrobineau/planif", tag = "1.0.1" }
whoami = "1.5.2"
tauri-plugin-fs = "2.2.0"
tauri-plugin-clipboard-manager = "2.0.2"
tauri-plugin-clipboard-manager = "2.2.0"
rand = "0.8.5"
tokio = { version = "1.42.0", features = ["process"] }
tokio = { version = "1.43.0", features = ["process"] }
tauri-plugin-dialog = "2"
# prost = "0.13"
# prost-types = "0.13"
+1 -1
View File
@@ -754,7 +754,7 @@ pub fn run() {
// }
#[cfg(not(target_os = "android"))]
let _tray_menu = TrayIconBuilder::with_id("main")
.menu_on_left_click(false)
.show_menu_on_left_click(false)
.on_tray_icon_event(|tray, event| {
if let TrayIconEvent::Click {
button: MouseButton::Left,