platform: Add http proxy support for Windows

This commit is contained in:
世界
2026-07-13 19:12:05 +08:00
parent f505a47bca
commit 81bfee7ef7
24 changed files with 862 additions and 72 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ type AndroidSystemProxy struct {
isEnabled bool
}
func NewSystemProxy(ctx context.Context, serverAddr M.Socksaddr, supportSOCKS bool) (*AndroidSystemProxy, error) {
func NewSystemProxy(ctx context.Context, serverAddr M.Socksaddr, supportSOCKS bool, bypassDomain []string) (*AndroidSystemProxy, error) {
userId := os.Getuid()
var (
useRish bool