summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-02-26 22:52:59 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-26 22:52:59 +0100
commite152ac6533a7b5db126d2efd12d6399ff1032955 (patch)
tree62dd9169aac1c4c35f0f88b093a91ab2b8f3bf11 /docs
parente9cb3f17b7bd70310a31eaded99c5050f32ac70c (diff)
[docs] blank lines needed
Diffstat (limited to 'docs')
-rw-r--r--docs/build.osx.rst5
-rw-r--r--docs/debug.rst18
2 files changed, 17 insertions, 6 deletions
diff --git a/docs/build.osx.rst b/docs/build.osx.rst
index 7e145a5..32ba29d 100644
--- a/docs/build.osx.rst
+++ b/docs/build.osx.rst
@@ -7,6 +7,7 @@ Cheat-sheet
tl;dr:
.. code:: bash
+
export RELEASE=yes
export OSXAPPPASS=my-apple-app-pass
make clean && make vendor && make build
@@ -28,6 +29,7 @@ First, we build the regular installer (use RELEASE=yes to do a codesign step
with macqtdeploy, note that this increases build time considerably):
.. code:: bash
+
make build
RELEASE=yes make installer
make sign_installer
@@ -60,6 +62,7 @@ environment variable to check the status of the notarization process. Obviously,
you need to be in posession of a valid membership
.. code:: bash
+
altool[5281:91963] No errors uploading 'build/installer/RiseupVPN-installer-0.20.4-175-gee4eb90.zip'.
RequestUUID = fe9a4324-bdcb-4c52-b857-f089dc904695
@@ -77,10 +80,12 @@ you need to be in posession of a valid membership
If everything is ok, now you can finish the process, stapling the notarization info and creating the dmg.
.. code:: bash
+
make notarize_staple
make create_dmg
If everything went well, you should have a .dmg for your release under the `deploy` folder.
.. code:: bash
+
created: /Users/admin/leap/bitmask-vpn/deploy/RiseupVPN-0.20.4-175-gee4eb90.dmg
diff --git a/docs/debug.rst b/docs/debug.rst
index c9daba6..76c9d1f 100644
--- a/docs/debug.rst
+++ b/docs/debug.rst
@@ -12,28 +12,33 @@ stop the privileged helper.
First, see if the helper is running:
-.. code::bash
+.. code:: bash
+
pgrep bitmask-helper
To stop it:
-.. code::bash
+.. code:: bash
+
sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist
To start it:
-.. code::bash
+.. code:: bash
+
sudo launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist
sudo launchctl start /Library/LaunchDaemons/se.leap.bitmask-helper.plist
Check that it's running:
-.. code::bash
+.. code:: bash
+
pgrep bitmask-helper
Manually check that the web api is running, and that it reports a version that matches what you currently have installed:
-.. code::bash
+.. code:: bash
+
curl http://localhost:7171/version
Also, you can check that the path near the end of the file /Library/LaunchDaemons/se.leap.bitmask-helper.plist
@@ -43,7 +48,8 @@ Cleaning up
~~~~~~~~~~~
If you have things messed up and you want to completely delete the bitmask-helper:
-.. code::bash
+.. code:: bash
+
sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist
sudo rm -rf /Library/LaunchDaemons/se.leap.bitmask-helper.plist