From 86b5493a9d5ce386e196dfd452294ae6604fe058 Mon Sep 17 00:00:00 2001 From: oomeow Date: Wed, 2 Sep 2026 06:47:07 +0000 Subject: [PATCH] fix: windows shutdown being blocked (#7848) make tauri-plugin-devtools and console-subscriber optional --- src-tauri/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 3a6930615..103126a5c 100755 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -19,8 +19,8 @@ default = ["custom-protocol"] custom-protocol = ["tauri/custom-protocol"] verge-dev = ["clash_verge_logger/color", "clash_verge_service_ipc/development-channel"] dev-sidecar = ["verge-dev"] -tauri-dev = [] -tokio-trace = ["console-subscriber"] +tauri-dev = ["dep:tauri-plugin-devtools"] +tokio-trace = ["dep:console-subscriber"] clippy = ["tauri/test"] tracing = [] @@ -94,7 +94,7 @@ tokio-stream = "0.1.19" backon = { version = "1.6.0", features = ["tokio-sleep"] } tauri-plugin-http = "2.5.9" console-subscriber = { version = "0.5.0", optional = true } -tauri-plugin-devtools = { version = "2.1.0" } +tauri-plugin-devtools = { version = "2.1.0", optional = true } tauri-plugin-mihomo = { git = "https://github.com/clash-verge-rev/tauri-plugin-mihomo", branch = "main" } clash_verge_logger = { git = "https://github.com/clash-verge-rev/clash-verge-logger" } async-trait = "0.1.92"