From 96fd78f8b3040b374fea3bccc7c5ba7dd29350a4 Mon Sep 17 00:00:00 2001 From: William Chan Date: Sat, 4 Apr 2020 22:33:25 +0800 Subject: [PATCH] fix windows disable bug --- src/win.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win.ts b/src/win.ts index 9684875..e6e0a06 100644 --- a/src/win.ts +++ b/src/win.ts @@ -12,7 +12,7 @@ export function enable(hostname: string, port: number) { } export function disable() { - return execSync(`${REG_PATH} /v ProxyEnable /t REG_DWORD /d 0 /f`) + return execSync(`${REG_PATH} ProxyEnable /t REG_DWORD /d 0 /f`) } export function status() { }