Skip to content

Commit

Permalink
build: x64/arm64 parallel builds for universal (#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Dec 4, 2023
1 parent 80b5afa commit 8dda589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/universal.js
Expand Up @@ -28,7 +28,7 @@ async function packageUniversalMac (packageForPlatformAndArchWithOpts, buildDir,

const tempPackages = {}

for (const tempArch of ['x64', 'arm64']) {
await Promise.all(['x64', 'arm64'].map(async (tempArch) => {
const tempOpts = {
...comboOpts,
arch: tempArch,
Expand All @@ -43,7 +43,7 @@ async function packageUniversalMac (packageForPlatformAndArchWithOpts, buildDir,
delete tempOpts.osxNotarize

tempPackages[tempArch] = await packageForPlatformAndArchWithOpts(tempOpts, tempDownloadOpts)
}
}))

const x64AppPath = tempPackages.x64
const arm64AppPath = tempPackages.arm64
Expand Down

0 comments on commit 8dda589

Please sign in to comment.