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

make winctl compatible with electron v20 and above #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Christian1984
Copy link

According to various reports there are currently two major issues that cause electron apps (after v20) to conflict with native modules.

1.) deprecated AccessorSignatures as per nodejs/nan#943 - This issue is fixed by a fix in the nan module, it hasn't been merged and released yet. I tested it by installing nan from https://github.com/weedz/nan/commit/a679b69b92e1997f6b40f1d3981a58a0021e1b99 and winctl builds with this patch.

2.) CreationContext is no longer supported. According to WiseLibs/better-sqlite3#858 (comment) this can be fixed by replacing CreationContext() with GetCreationContext().ToLocalChecked().

The latter was implemented here. With the upcoming release of a new nan version the first issue should "fix itself" :-) winctl should then be fully compatible with electron v20 and newer.

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