Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 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.

None yet

3 participants