From 7ed49b92ff19205af276dee371174579c8b4c811 Mon Sep 17 00:00:00 2001 From: kali Date: Wed, 3 Mar 2021 22:59:03 +0100 Subject: [pkg] abort install if we running an old version 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. --- docs/build.windows.rst | 3 ++- docs/debug.rst | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/build.windows.rst b/docs/build.windows.rst index 93e9d41..a24f4b0 100644 --- a/docs/build.windows.rst +++ b/docs/build.windows.rst @@ -10,10 +10,11 @@ You should instal: make, wget, as well as a recent Qt5 version (for instance, wi For the installer, install QtIFW for windows (tested with version 3.2.2). -Assuming you have the vendor path in place and correctly configured, all you need to do is `make build_installer`:: +Assuming you have the vendor path in place and correctly configured, all you need to do is `make installer`:: export PATH="/c/Qt/Qt5/bin/":"/c/Qt/QtIFW-3.2.2/bin":$PATH export VENDOR_PATH=providers + export PROVIDER=riseup make vendor && make installer 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 + -- cgit v1.2.3