Skip to content

Conversation

@erickzhao
Copy link
Member

@erickzhao erickzhao commented Aug 26, 2025

Splitting this out from #1813

The all flag attempts to build for all valid platform/arch combinations at once. @electron/universal explicitly throws an error if run on non-macOS platforms.

https://github.com/electron/universal/blob/b8379c01edeaeaedf8ab3c0b4d9605ff5695e489/src/index.ts#L83-L84

This PR removes darwin/universal and mas/universal targets from the all flag if not running from macOS.

@erickzhao erickzhao marked this pull request as ready for review August 26, 2025 21:02
@erickzhao erickzhao requested a review from a team as a code owner August 26, 2025 21:02
@erickzhao erickzhao requested a review from erikian August 26, 2025 22:37
@erickzhao erickzhao merged commit 1b76f8a into main Aug 27, 2025
15 checks passed
@erickzhao erickzhao deleted the skip-universal-non-darwin branch August 27, 2025 17:30
@continuous-auth
Copy link

🎉 This PR is included in version 18.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants