Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Added arm support on macOS (M1/M2) #86

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

imyanice
Copy link

No description provided.

@imyanice
Copy link
Author

It was tested on a private repository and it is working normally.
- Yan

@@ -132,7 +132,7 @@ const runAction = () => {
run(
`${useNpm ? "npx --no-install" : "yarn run"} ${cmd} --${platform} ${
release ? "--publish always" : ""
} ${args}`,
} ${(platform == "mac") ? "--arm64 --x64" : ""} ${args}`,

Choose a reason for hiding this comment

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

Since you can configure a universal build as well should this be something that is flagged?

Copy link
Author

Choose a reason for hiding this comment

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

Actually that’s not a bad idea. I’ll look into it…
- Yan

Copy link

Choose a reason for hiding this comment

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

strategy:
      matrix:
        os: [macos-latest, windows-latest]
        arch: ["--x64", "--arm64"]

- name: Build/release Electron app
        uses: samuelmeuli/action-electron-builder@v1
        with:
          args: ${{ matrix.arch }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants