feat: shadowsocks

This commit is contained in:
zhom
2026-04-19 19:40:55 +04:00
parent 8284b62e34
commit 3152e0de59
11 changed files with 73 additions and 24 deletions
+4
View File
@@ -1368,6 +1368,10 @@ impl ProxyManager {
("socks5", rest)
} else if let Some(rest) = line.strip_prefix("socks://") {
("socks5", rest) // Default socks to socks5
} else if let Some(rest) = line.strip_prefix("ss://") {
("ss", rest)
} else if let Some(rest) = line.strip_prefix("shadowsocks://") {
("ss", rest)
} else {
return None;
};