This directory contains the source code for a minimal downloader/installer for the Mullvad VPN app.
This section describes how to build and release the downloader itself. Note that this is totally unrelated to releasing new versions of the Mullvad VPN app.
The installer is built locally and then uploaded to app-build-linux
, which runs
buildserver-upload.sh
. buildserver-upload.sh
will take care of GPG signing it and publishing to
CDNs.
<version>
below will be used below to refer to the version that is being released.
-
Install Rust if you do not have it. It can be obtained from https://rustup.rs/
-
You'll typically need a Windows and a macOS machine, since the installer must be built on both.
-
Set up macOS and Windows for signing:
-
macOS:
CSC_LINK
must point to the path of a.p12
certificate used for code signing. -
Windows:
CERT_HASH
must be set to the fingerprint of the signing certificate to use. This must be present in the certificate store.
See the app release instructions for more details on this.
-
-
Set up
~/.ssh/config
forapp-build-linux
. Build artifacts will besftp
'd here.
-
Bump the version in
Cargo.toml
. -
Create a signed tag called
desktop/installer-downloader/<version>
andgit push
the tag.
Perform this step on both macOS and Windows:
- Run
./build.sh --upload --sign
. This will build a release build of the installer and upload it toapp-build-linux:upload/installer-downloader/<version>