Spaces:
Sleeping
Sleeping
Download scripts/install-current-user.vbs from lanfeng211/netfilter: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/lanfeng211/netfilter/resolve/main/scripts/install-current-user.vbs
- Command line
-
hf download hf://spaces/lanfeng211/netfilter/scripts/install-current-user.vbs
-
curl -L -o install-current-user.vbs https://huggingface.co/spaces/lanfeng211/netfilter/resolve/main/scripts/install-current-user.vbs
560 Bytes
| Set oShell = CreateObject("WScript.Shell") | |
| Set oEnv = oShell.Environment("USER") | |
| Set oFS = CreateObject("Scripting.FileSystemObject") | |
| Dim baseUrl | |
| baseUrl = "http://127.0.0.1:8181" | |
| MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" | |
| oEnv("AGENT_DEBUG_OVERRIDE_PROXY_URL") = baseUrl | |
| oEnv("GITHUB_COPILOT_OVERRIDE_PROXY_URL") = baseUrl | |
| oEnv("AGENT_DEBUG_OVERRIDE_CAPI_URL") = baseUrl & "/v1" | |
| oEnv("GITHUB_COPILOT_OVERRIDE_CAPI_URL") = baseUrl & "/v1" | |
| MsgBox "Done." | |