mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-25 12:11:46 +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"
|
|
]
|
|
}
|
|
]
|
|
}
|