summaryrefslogtreecommitdiff
path: root/docs/debug.rst
diff options
context:
space:
mode:
authorkali <kali@win>2021-03-03 22:59:03 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-03-05 12:16:25 +0100
commit7ed49b92ff19205af276dee371174579c8b4c811 (patch)
treee81ffa631dd2933927b13b2ec55abef061515113 /docs/debug.rst
parenteedc47336e20d2661ed015023aa2e2ddcd5891c4 (diff)
[pkg] abort install if we running an old version0.21.2
stop if: - bitmask is running (we don't want to mess with the helper if the app is running) - we cannot stop the service for some reason. powershell gives more flexibility to stop services, but Remove-Service is not present in PS < 6, so we try to remove the service from the post-install too (the golang helper will complain about an eventlog registry key). this could probably be improved in the helper, but we'll be moving to the official openvpnserv2 service for 0.21.4. we might want to revisit the current helper for the firewall/killswitch.
Diffstat (limited to 'docs/debug.rst')
-rw-r--r--docs/debug.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/debug.rst b/docs/debug.rst
index 76c9d1f..a154ab0 100644
--- a/docs/debug.rst
+++ b/docs/debug.rst
@@ -57,3 +57,19 @@ Make sure that "pgrep bitmask-helper" does not return any pid.
Now you can move /Applications/RiseupVPN.app to the Trash, and launch a
recent installer to get a clean install.
+
+Windows
+-------
+In Windows you can use PowerShell to see if there's an old service Running (it
+can be from RiseupVPN, CalyxVPN, LibraryVPN etc...).
+
+.. code:: powershell
+
+ PS C:\Users\admin> Get-Service bitmask-helper-v2
+
+You can also stop it (needs admin)
+
+.. code:: powershell
+
+ PS C:\Users\admin> Stop-Service bitmask-helper-v2
+