mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-27 05:01:45 +00:00
36 lines
720 B
JSON
36 lines
720 B
JSON
{
|
|
"name": "WSL - Sudo - Env",
|
|
"cmd": "wsl sudo",
|
|
"set": [
|
|
{
|
|
"args": [
|
|
"tee",
|
|
"-a",
|
|
"/etc/environment",
|
|
"\"<<<\"",
|
|
"http_proxy"
|
|
],
|
|
"equator": "="
|
|
}, {
|
|
"args": [
|
|
"tee",
|
|
"-a",
|
|
"/etc/environment",
|
|
"\"<<<\"",
|
|
"https_proxy"
|
|
],
|
|
"equator": "="
|
|
}
|
|
],
|
|
"unset": [
|
|
{
|
|
"args": [
|
|
"sed",
|
|
"-i",
|
|
"'''/^https\\?_proxy=.*$/d'''",
|
|
"/etc/environment"
|
|
]
|
|
}
|
|
]
|
|
}
|