Skip to content

Separate mac builds to ARM64 and Intel - #346

Open
mXaln wants to merge 3 commits into
developfrom
mm-build-silicon-only
Open

Separate mac builds to ARM64 and Intel#346
mXaln wants to merge 3 commits into
developfrom
mm-build-silicon-only

Conversation

@mXaln

@mXaln mXaln commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Fixes # .

Changes in this pull request:

mXaln added 3 commits August 11, 2026 17:17
Drops the universal build (and its osxUniversal x64ArchFiles config),
so no Intel Mac artifact is produced anymore.
volume names over 27 chars and the versioned file name exceeds that. Drop zip artifacts
binary; the release step builds them sequentially since appdmg mounts a volume per dmg.
@mXaln mXaln self-assigned this Aug 11, 2026
@mXaln
mXaln requested a review from PurpleGuitar August 11, 2026 14:33
Comment thread gulpfile.js

Promise.all(platforms.map(packagePlatform))
.then(() => done())
.catch(err => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, this catch() will log the error and then call done(), allowing the build to continue. I think we should consider erroring out instead so that we don't accidentally (and silently) release a broken build.

Comment thread gulpfile.js
}
});

Promise.all(tasks).then(() => done());

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not part of your change, but again I think we should consider catching errors here and failing the build.

Comment thread gulpfile.js
const options = {
appPath: buildPath,
name: name,
title: APP_NAME,

@PurpleGuitar PurpleGuitar Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you made the title APP_NAME + "-" + ${arch}, would that remove the need for the "tricky" code below? It might let you run the builds in parallel too.

Comment thread gulpfile.js
throw new Error('Missing build');
}

const linuxDest = `${RELEASE_DIR}BTT-Writer-${packageJson.version}-linux-x64.zip`;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep the Linux .zip download? The .deb target only works for Debian-based Linux targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants