diff --git a/src/network-proxy.ts b/src/network-proxy.ts index 220d9710..c2031614 100644 --- a/src/network-proxy.ts +++ b/src/network-proxy.ts @@ -58,7 +58,7 @@ function setupWinProxy(proxy: any) { } = proxy; const prefix = 'reg add "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings" /v '; - const opts = { async: false}; + const opts = { async: false }; shell.exec(`${prefix} MigrateProxy /t REG_DWORD /d 1 /f`, opts) shell.exec(`${prefix} ProxyEnable /t REG_DWORD /d 1 /f`, opts) shell.exec(`${prefix} ProxyHttp1.1 /t REG_DWORD /d 1 /f`, opts)