diff options
| author | Linus Färnstrand <faern@faern.net> | 2021-12-27 21:47:58 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2021-12-29 13:57:09 +0100 |
| commit | 2dafa505bda64cddb84369d90f8a1f599f7050d5 (patch) | |
| tree | 1c2c0542cdaf76b5edf927290c98190d351b5f0c /gui/tasks | |
| parent | 56de07e2b35f08c7d5668cd04c0d4410262c3c57 (diff) | |
| download | mullvadvpn-2dafa505bda64cddb84369d90f8a1f599f7050d5.tar.xz mullvadvpn-2dafa505bda64cddb84369d90f8a1f599f7050d5.zip | |
Make build.sh produce single architecture pkg by default (--universal)
Add --universal flag for building universal app for both
Intel and Apple Silicon
Diffstat (limited to 'gui/tasks')
| -rw-r--r-- | gui/tasks/distribution.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gui/tasks/distribution.js b/gui/tasks/distribution.js index 205a966030..de6ca3bd57 100644 --- a/gui/tasks/distribution.js +++ b/gui/tasks/distribution.js @@ -8,7 +8,6 @@ const { version } = require('../package.json'); const compression = process.argv.includes('--no-compression') ? 'store' : 'normal'; const noAppleNotarization = process.argv.includes('--no-apple-notarization'); -const arm64 = process.argv.includes('--arm64'); const universal = process.argv.includes('--universal'); const config = { @@ -299,8 +298,6 @@ function root(relativePath) { function getMacArch() { if (universal) { return 'universal'; - } else if (arm64) { - return 'arm64'; } else { // Not specifying an arch makes Electron builder build for the arch it's running on. return undefined; |
