From f1dc394c8096915417d804f3369cdec03089a174 Mon Sep 17 00:00:00 2001 From: Zachary Huff Date: Fri, 1 Apr 2022 20:24:17 -0400 Subject: [PATCH] Update windows install scripts --- resources_win/post_install/main.go | 5 +++++ resources_win/pre_uninstall/main.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/resources_win/post_install/main.go b/resources_win/post_install/main.go index 5616a66c1..fca7fa498 100644 --- a/resources_win/post_install/main.go +++ b/resources_win/post_install/main.go @@ -51,6 +51,11 @@ func main() { cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Run() + cmd = exec.Command(filepath.Join(rootDir, "tuntap", "tuntap.exe"), + "clean") + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr + cmd.Run() cmd = exec.Command(filepath.Join(rootDir, "nssm.exe"), "stop", "pritunl") diff --git a/resources_win/pre_uninstall/main.go b/resources_win/pre_uninstall/main.go index 2b4959d12..ccfff6c47 100644 --- a/resources_win/pre_uninstall/main.go +++ b/resources_win/pre_uninstall/main.go @@ -40,7 +40,7 @@ func main() { cmd.Stderr = os.Stderr cmd.Run() cmd = exec.Command(filepath.Join(rootDir, "tuntap", "tuntap.exe"), - "uninstall") + "clean") cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Run()