added a setting to change the proxy mode controlled by a switch on the homepage

This commit is contained in:
coolcoala
2025-07-14 05:23:02 +03:00
parent b1e3283a24
commit eb1e4fe0c3
6 changed files with 428 additions and 130 deletions

View File

@@ -748,6 +748,7 @@ interface IVergeConfig {
enable_system_proxy?: boolean;
enable_global_hotkey?: boolean;
enable_dns_settings?: boolean;
primary_action?: "tun-mode" | "system-proxy";
proxy_auto_config?: boolean;
pac_file_content?: string;
proxy_host?: string;