feat: support set system proxy command

This commit is contained in:
GyDi
2021-12-17 02:15:40 +08:00
parent ad60013f52
commit 3a9734e97d
5 changed files with 76 additions and 4 deletions

View File

@@ -3,9 +3,9 @@ use std::io;
#[derive(Debug, Deserialize, Serialize)]
pub struct SysProxyConfig {
enable: bool,
server: String,
bypass: String,
pub enable: bool,
pub server: String,
pub bypass: String,
}
#[cfg(target_os = "windows")]