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

(feat): detect app binary path for electron builder and forge #222

Merged
merged 7 commits into from
Oct 11, 2023

Conversation

christian-bromann
Copy link
Contributor

I would find the DX much better if the service could figure out the location of the Electron build based on some assumptions we can make given their setup. This patch allows users not to have to set the appBinaryPath if they use Electron Builder or Electron Forge as build tool. The change is backwards compatible and only kicks in if the property isn't already set.

Furthermore the launcher has tried to detect the Electron version by looking at the electron dependency. However our example has used electron-nightly so I enhanced that mechanism to also check for the version of that dependency.

@christian-bromann
Copy link
Contributor Author

@goosewobbler I will go ahead and test this in the boilerplate. Let me know if you like to see anything changed.

@christian-bromann christian-bromann merged commit 080ced8 into main Oct 11, 2023
3 checks passed
@christian-bromann christian-bromann deleted the cb/detect-binary-path branch October 11, 2023 23:52
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.

1 participant