summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh1
-rw-r--r--dist-assets/linux/before-install.sh1
-rw-r--r--gui/tasks/distribution.js1
3 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 83073f29fd..a576893fc1 100755
--- a/build.sh
+++ b/build.sh
@@ -153,6 +153,7 @@ elif [[ ("$(uname -s)" == "Linux") ]]; then
mullvad
mullvad-problem-report
libtalpid_openvpn_plugin.so
+ mullvad-setup
)
elif [[ ("$(uname -s)" == "MINGW"*) ]]; then
binaries=(
diff --git a/dist-assets/linux/before-install.sh b/dist-assets/linux/before-install.sh
index 71fe8ae5ab..b47c6ce24c 100644
--- a/dist-assets/linux/before-install.sh
+++ b/dist-assets/linux/before-install.sh
@@ -3,6 +3,7 @@ set -eu
if which systemctl &> /dev/null; then
if systemctl status mullvad-daemon &> /dev/null; then
+ /opt/Mullvad\ VPN/resources/mullvad-setup prepare-restart
systemctl stop mullvad-daemon.service
systemctl disable mullvad-daemon.service
fi
diff --git a/gui/tasks/distribution.js b/gui/tasks/distribution.js
index 20a6dba119..e371e26fbe 100644
--- a/gui/tasks/distribution.js
+++ b/gui/tasks/distribution.js
@@ -105,6 +105,7 @@ const config = {
extraResources: [
{ from: distAssets('mullvad-problem-report'), to: '.' },
{ from: distAssets('mullvad-daemon'), to: '.' },
+ { from: distAssets('mullvad-setup'), to: '.' },
{ from: distAssets('libtalpid_openvpn_plugin.so'), to: '.' },
{ from: distAssets('binaries/x86_64-unknown-linux-gnu/openvpn'), to: '.' },
{ from: distAssets('binaries/x86_64-unknown-linux-gnu/sslocal'), to: '.' },