summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorOskar <oskar@mullvad.net>2024-09-30 10:28:05 +0200
committerOskar <oskar@mullvad.net>2024-10-02 11:58:09 +0200
commit9baf79722129f8d1594331c780bf38f76fa43398 (patch)
tree1dac5422de9d3bbc22dc959b68a77eaffd9aa910 /gui
parentd34c403ff3290761932c63be21632f024daffcaf (diff)
downloadmullvadvpn-9baf79722129f8d1594331c780bf38f76fa43398.tar.xz
mullvadvpn-9baf79722129f8d1594331c780bf38f76fa43398.zip
Remove architecture suffix on Windows x64 installer
Diffstat (limited to 'gui')
-rw-r--r--gui/tasks/distribution.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/gui/tasks/distribution.js b/gui/tasks/distribution.js
index 0e80c3c73f..50e4e0ad94 100644
--- a/gui/tasks/distribution.js
+++ b/gui/tasks/distribution.js
@@ -135,7 +135,7 @@ const config = {
arch: getWindowsTargetArch(),
},
],
- artifactName: 'MullvadVPN-${version}_${arch}.${ext}',
+ artifactName: getWindowsArtifactName(),
publisherName: 'Mullvad VPN AB',
extraResources: [
{ from: distAssets(path.join(getWindowsDistSubdir(), 'mullvad.exe')), to: '.' },
@@ -464,6 +464,13 @@ function getWindowsTargetArch() {
return 'x64';
}
+function getWindowsArtifactName() {
+ if (targets === 'aarch64-pc-windows-msvc') {
+ return 'MullvadVPN-${version}_${arch}.${ext}';
+ }
+ return 'MullvadVPN-${version}.${ext}';
+}
+
function getWindowsTargetSubdir() {
if (targets && process.platform === 'win32') {
if (targets === 'aarch64-pc-windows-msvc') {