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

Add target arch API #727

Merged
merged 2 commits into from Sep 14, 2017
Merged

Add target arch API #727

merged 2 commits into from Sep 14, 2017

Conversation

malept
Copy link
Member

@malept malept commented Sep 13, 2017

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

Adds two API functions in target.js:

  • hostArch, which is the same function as electronHostArch in Electron Forge and is used internally as well
  • allOfficialArchsForPlatformAndVersion, made specifically for Forge (Use the Electron Packager official platform/arch list forge#320). It might be nice to eventually use it internally, but it would take a nontrivial refactor.

@malept malept merged commit ab0419f into master Sep 14, 2017
@malept malept deleted the target-arch-api branch September 14, 2017 02:06
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

1 participant