Skip to content

Commit

Permalink
quote
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Oct 20, 2023
1 parent 702aa97 commit 0a80635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ function setupMacProxy(proxy: any) {
shell.exec(`sudo ${networkSetup} -setwebproxy "${networkService}" ${proxyHost} ${proxyPort}`, {async: false});
shell.exec(`sudo ${networkSetup} -setsecurewebproxy "${networkService}" ${proxyHost} ${proxyPort}`, {async: false});
shell.exec(`sudo ${networkSetup} -setftpproxy "${networkService}" ${proxyHost} ${proxyPort}`, {async: false});
const webProxyInfo = shell.exec(`sudo ${networkSetup} -getwebproxy ${networkService}`, {async: false}).stdout;
const webProxyInfo = shell.exec(`sudo ${networkSetup} -getwebproxy "${networkService}"`, {async: false}).stdout;
console.log('webProxyInfo: ', webProxyInfo)
const webSecureProxyInfo = shell.exec(`sudo ${networkSetup} -getsecurewebproxy ${networkService}`, {async: false}).stdout;
const webSecureProxyInfo = shell.exec(`sudo ${networkSetup} -getsecurewebproxy "${networkService}"`, {async: false}).stdout;
console.log('webSecureProxyInfo: ', webSecureProxyInfo)
}

Expand Down

0 comments on commit 0a80635

Please sign in to comment.