From 0a17c269eafca6a67fe4af213d80562c05ad91d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E5=85=88=E6=A3=AE?= Date: Fri, 10 Jan 2025 18:42:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=99=E6=98=AF=E4=B8=80=E4=B8=AA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=88=86=E6=94=AF=EF=BC=8C=E7=94=A8=E4=BA=8Erust?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E5=8C=85=E6=9B=B4=E6=96=B0=E4=B8=8E=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/Cargo.toml | 14 +++++++------- src-tauri/src/lib.rs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 2772559..1356413 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 8d301a9..d36518d 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -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,