Skip to content

make winctl compatible with electron v20 and above#8

Open
Christian1984 wants to merge 1 commit intodavenonymous:masterfrom
Christian1984:master
Open

make winctl compatible with electron v20 and above#8
Christian1984 wants to merge 1 commit intodavenonymous:masterfrom
Christian1984:master

Conversation

@Christian1984
Copy link
Copy Markdown

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