diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rwxr-xr-x | gui/packages/desktop/electron-builder.yml | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b768383fbf..7037ffebab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,9 @@ Line wrap the file at 100 chars. Th ### Changed - Auto-hide scrollbars on macOS only, leaving them visible on other platforms. +#### Linux +- Moved CLI binary to `/usr/bin/` as to have the CLI binary in the user's `$PATH` by default. + ### Fixed #### Windows - Use different method for identifying network interfaces during installation. diff --git a/gui/packages/desktop/electron-builder.yml b/gui/packages/desktop/electron-builder.yml index 4d99c45e93..3aae55b9aa 100755 --- a/gui/packages/desktop/electron-builder.yml +++ b/gui/packages/desktop/electron-builder.yml @@ -100,9 +100,6 @@ linux: - rpm artifactName: MullvadVPN-${version}_${arch}.${ext} category: Network - extraFiles: - - from: ../../../target/release/mullvad - to: . extraResources: - from: ../../../target/release/problem-report to: . @@ -121,7 +118,9 @@ deb: fpm: ["--before-install", "../../../dist-assets/linux/before-install.sh", "--before-remove", "../../../dist-assets/linux/before-remove.sh", "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.service", - "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.conf"] + "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.conf", + "../../../target/release/mullvad=/usr/bin/", + ] afterInstall: ../../../dist-assets/linux/after-install.sh afterRemove: ../../../dist-assets/linux/after-remove.sh @@ -129,7 +128,9 @@ rpm: fpm: ["--before-install", "../../../dist-assets/linux/before-install.sh", "--before-remove", "../../../dist-assets/linux/before-remove.sh", "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.service", - "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.conf"] + "--config-files", "/opt/Mullvad VPN/resources/mullvad-daemon.conf", + "../../../target/release/mullvad=/usr/bin/", + ] afterInstall: ../../../dist-assets/linux/after-install.sh afterRemove: ../../../dist-assets/linux/after-remove.sh depends: |
