Skip to content

Commit

Permalink
fixup: distribution.js fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Dec 9, 2024
1 parent af491f6 commit 498898e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop/packages/mullvad-vpn/tasks/distribution.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ const config = {
};

async function packWin() {
const DEFAULT_ARCH = (targets === 'aarch64-pc-windows-msvc') ? 'arm64' : 'x64';
const DEFAULT_ARCH = targets === 'aarch64-pc-windows-msvc' ? 'arm64' : 'x64';

function prepareConfig(arch) {
return {
Expand Down Expand Up @@ -347,7 +347,7 @@ async function packWin() {
// installers in the same binary.
await builder.build({
targets: builder.Platform.WINDOWS.createTarget(),
config: prepareConfig((DEFAULT_ARCH === 'x64') ? 'arm64' : 'x64'),
config: prepareConfig(DEFAULT_ARCH === 'x64' ? 'arm64' : 'x64'),
});
}

Expand Down

0 comments on commit 498898e

Please sign in to comment.