diff --git a/packages/core/src/shell/scripts/set-system-proxy/index.js b/packages/core/src/shell/scripts/set-system-proxy/index.js index c24bd18..9751d86 100644 --- a/packages/core/src/shell/scripts/set-system-proxy/index.js +++ b/packages/core/src/shell/scripts/set-system-proxy/index.js @@ -306,13 +306,13 @@ const executor = { await exec(`networksetup -setwebproxystate '${wifiAdaptor}' off`) } - // const setEnv = `cat <> ~/.zshrc + // const setEnv = `cat <> ~/.zshrc // export http_proxy="http://${ip}:${port}" // export https_proxy="http://${ip}:${port}" // ENDOF // source ~/.zshrc - // ` - // await exec(setEnv) + // ` + // await exec(setEnv) } else { // 关闭代理 // https await exec(`networksetup -setsecurewebproxystate '${wifiAdaptor}' off`)