Skip to content

Commit

Permalink
Update src/network-proxy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Plischke <alex.plischke@saucelabs.com>
  • Loading branch information
tianfeng92 and alexplischke authored Oct 23, 2023
1 parent a841de8 commit 08c17d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 08c17d8

Please sign in to comment.