refactor(signal): migrate signal to handling async in windows and remove windows_sys dependency (#5741)

* refactor(signal): migrate signal to handling async in windows and remove signal-hook dependency

* refactor(signal): enhance Windows signal handling with improved cleanup logic

* refactor(signal): improve exit handling in run function for async compatibility
This commit is contained in:
Tunglies
2025-12-06 11:33:49 +08:00
committed by GitHub
parent 5797bb7f8c
commit 90b1c6e153
8 changed files with 120 additions and 178 deletions

View File

@@ -9,15 +9,5 @@ clash-verge-logging = { workspace = true }
log = { workspace = true }
tokio = { workspace = true }
[target.'cfg(windows)'.dependencies]
tauri = { workspace = true }
windows-sys = { version = "0.61.2", features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_SystemServices",
"Win32_UI_WindowsAndMessaging",
] }
[lints]
workspace = true