[修复]修改代理设置后,如果修改之前代理是开启状态,自动重新应用代理设置。 (#3391)

* [修复]修改代理设置后,如果修改之前代理是开启状态,自动重新应用代理设置。

* chore: update sysproxy version

---------

Co-authored-by: Tunglies <tunglies.dev@outlook.com>
This commit is contained in:
逐雁南飛
2025-04-24 01:10:01 +08:00
committed by GitHub
parent 2622cc06eb
commit ffc0693afc
3 changed files with 34 additions and 2 deletions

3
src-tauri/Cargo.lock generated
View File

@@ -6696,12 +6696,13 @@ dependencies = [
[[package]]
name = "sysproxy"
version = "0.3.0"
source = "git+https://github.com/clash-verge-rev/sysproxy-rs?rev=3d748b5#3d748b5743fcd954ced7a7fb45707bb1114494f2"
source = "git+https://github.com/clash-verge-rev/sysproxy-rs#28c3df9005694354cbaf725c23fe243854aac8a0"
dependencies = [
"interfaces",
"iptools",
"log",
"thiserror 1.0.69",
"url",
"windows 0.58.0",
"winreg 0.52.0",
"xdg",

View File

@@ -43,7 +43,7 @@ tokio = { version = "1.44", features = [
serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls", "cookies"] }
regex = "1.11.1"
sysproxy = { git = "https://github.com/clash-verge-rev/sysproxy-rs", rev = "3d748b5" }
sysproxy = { git = "https://github.com/clash-verge-rev/sysproxy-rs" }
image = "0.25.6"
imageproc = "0.25.0"
tauri = { version = "2.4.0", features = [