Skip to content

Force Proxy to any Windows/MacOS/Linux Application TCP and UDP traffic

#199 - remove startup task on uninstall

AnoF-Cyberd9c17c136aee
diff --git a/Windows/installer/ProxyBridge.nsi b/Windows/installer/ProxyBridge.nsi
index aaa306c..9ba0f47 100644
--- a/Windows/installer/ProxyBridge.nsi
+++ b/Windows/installer/ProxyBridge.nsi
@@ -118,6 +118,9 @@ Section Uninstall
Sleep 1500
uninst_proceed:
+ ; Remove the "Run at Startup" logon task the GUI may have created.
+ nsExec::ExecToLog 'schtasks /Delete /F /TN "ProxyBridge"'
+
; Stop the WinDivert driver first so WinDivert64.sys isn't held open.
nsExec::ExecToLog 'sc stop WinDivert'
nsExec::ExecToLog 'sc delete WinDivert'