Skip to content

Commit

Permalink
Update windows install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zachhuff386 committed Apr 2, 2022
1 parent 928310b commit f1dc394
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions resources_win/post_install/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion resources_win/pre_uninstall/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f1dc394

Please sign in to comment.