alroyso 1 year ago
parent
commit
40fc067fa8
1 changed files with 1 additions and 0 deletions
  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 {
     } else {
       await Process.run('reg', ['add', regPath, '/v', 'ProxyEnable', '/t', 'REG_DWORD', '/d', '0', '/f']);
       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', 'ProxyServer', '/t', 'REG_SZ', '/d', '', '/f']);
+      await Process.run('reg', ['add', regPath, '/v', 'ProxyOverride', '/t', 'REG_SZ', '/d', '', '/f']);
     }
     }
   }
   }