Skip to content

🔧 Support Electron v4 #152

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

Merged
merged 2 commits into from
Dec 17, 2018
Merged

Conversation

nornagon
Copy link
Contributor

Electron 4 changed the header directory to use the 'headerOnly' format rather than the 'full' node checkout format.

@@ -79,7 +79,7 @@ let runtimePaths = {
name: "node.lib"
}],
tarPath: "node" + "-v" + targetOptions.runtimeVersion + ".tar.gz",
headerOnly: false
headerOnly: semver.gte(targetOptions.runtimeVersion, '>=4.0.0-alpha')
Copy link
Member

Choose a reason for hiding this comment

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

That should be semver.satfisfies, because you've included the gte operator in the semver string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Switched to not include the >= operator in the semver string

@unbornchikken unbornchikken merged commit 0ed7581 into cmake-js:master Dec 17, 2018
@rogeriorc
Copy link
Contributor

@unbornchikken When it will be released?

@nornagon nornagon deleted the electron-4 branch January 14, 2019 20:06
@nornagon
Copy link
Contributor Author

It'd be great to get an Electron 4-compatible cmake-js!

@unbornchikken
Copy link
Member

It has been release just now as of 5.0.0.

@nornagon
Copy link
Contributor Author

Fantastic, thanks @unbornchikken!

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.

4 participants