diff options
-rw-r--r-- | docs/hacking/osx.rst | 16 | ||||
-rwxr-xr-x | pkg/osx/uninstall.sh | 5 |
2 files changed, 16 insertions, 5 deletions
diff --git a/docs/hacking/osx.rst b/docs/hacking/osx.rst index 92235896..45f1823e 100644 --- a/docs/hacking/osx.rst +++ b/docs/hacking/osx.rst @@ -19,7 +19,7 @@ Setting up a development environment in OSX™ * Make sure you're using a new enough version of pip (1.8 or newest). This will make all the problems with ``cryptography`` going away, since it will install the statically built wheel: ``pip --version`` -* Clone the repo, create and activate a virtualenv:: +Clone the repo, create and activate a virtualenv:: mkdir ~/leap && cd ~/leap git clone "https://0xacab.org/leap/bitmask-dev" @@ -27,13 +27,13 @@ Setting up a development environment in OSX™ virtualenv ~/leap/venv source ~/leap/venv/bin/activate -* In OSX, we're using ``pywebview`` for the GUI launcher, that depends on ``pyobjc``. You can install that with:: +In OSX, we're using ``pywebview`` for the GUI launcher, that depends on ``pyobjc``. You can install that with:: pip install -r ~/leap/bitmask-dev/pkg/requirements-osx.pip * Install the rest of dependencies as usual. -* After installing that, you should be able to build the bundle:: +After installing that, you should be able to build the bundle:: make bundle_osx @@ -83,11 +83,17 @@ installed to the same path mentioned in the previous section. .. note: cleanup unused helpers +Uninstalling +=================================== + +There's an uninstall script in `pkg/osx/uninstall.sh`. + Installing the bundle with homebrew =================================== -For testing purposes, `homebrew`_ can be used to distribute and install the -bundle. This should download and install the latest version of the bundle:: +For testing purposes, `homebrew`_ can be used to distribute and install +experimental versions of the bundle. This should download and install the +latest version of the bundle:: brew install kalikaneko/bitmask/bitmask diff --git a/pkg/osx/uninstall.sh b/pkg/osx/uninstall.sh new file mode 100755 index 00000000..7250020d --- /dev/null +++ b/pkg/osx/uninstall.sh @@ -0,0 +1,5 @@ +#!/bin/sh +sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist +sudo rm -rf /Applications/Bitmask.app +sudo rm -rf ~/Library/Preferences/leap +echo "Bitmask has been uninstalled from your system!" |