alroyso 1 年之前
父節點
當前提交
40fc067fa8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/app/utils/system_proxy.dart

+ 1 - 0
lib/app/utils/system_proxy.dart

@@ -119,6 +119,7 @@ class WinSystemProxy extends SystemProxyPlatform {
     } else {
       await Process.run('reg', ['add', regPath, '/v', 'ProxyEnable', '/t', 'REG_DWORD', '/d', '0', '/f']);
       await Process.run('reg', ['add', regPath, '/v', 'ProxyServer', '/t', 'REG_SZ', '/d', '', '/f']);
+      await Process.run('reg', ['add', regPath, '/v', 'ProxyOverride', '/t', 'REG_SZ', '/d', '', '/f']);
     }
   }