diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-07-04 16:47:35 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-07-04 16:59:07 +0200 |
| commit | 20736c213798cdc6df9e58005cd61b2402ca6a36 (patch) | |
| tree | b388190e3b8d4f8de9884bc682136087df1e64a0 | |
| parent | f23a3582e7b44b71f3d624617e65041d13a36606 (diff) | |
| download | mullvadvpn-20736c213798cdc6df9e58005cd61b2402ca6a36.tar.xz mullvadvpn-20736c213798cdc6df9e58005cd61b2402ca6a36.zip | |
Make symlinks in /usr/local/bin
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rwxr-xr-x | dist-assets/pkg-scripts/postinstall | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 489d870af1..c244f7d2b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,10 @@ Line wrap the file at 100 chars. Th #### Windows - Add migration logic to restore lost settings after major Windows update. +#### macOS +- Add the Mullvad CLI frontend and problem report CLI tool to the PATH, so it can be + run directly from a terminal. + ### Fixed #### Windows diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall index 3b784506e5..e8229e5f3d 100755 --- a/dist-assets/pkg-scripts/postinstall +++ b/dist-assets/pkg-scripts/postinstall @@ -53,3 +53,7 @@ sleep 1 launchctl unload -w $DAEMON_PLIST_PATH echo "$DAEMON_PLIST" > $DAEMON_PLIST_PATH launchctl load -w $DAEMON_PLIST_PATH + +mkdir -p /usr/local/bin +ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/mullvad" /usr/local/bin/mullvad +ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/problem-report" /usr/local/bin/mullvad-problem-report |
