there should be an option to provide custom package.json in electronize start also #462

Closed
opened 2026-01-29 16:40:13 +00:00 by claunia · 3 comments
Owner

Originally created by @Sachin4dotnet on GitHub (Feb 25, 2020).

Originally assigned to: @GregorBiswanger on GitHub.

There is an option to provide custom package.json in electronize build but not in electronize start.
It should be there also for development purpose.
For example
electronize start /package-json "mycustom-package.json"

Originally created by @Sachin4dotnet on GitHub (Feb 25, 2020). Originally assigned to: @GregorBiswanger on GitHub. There is an option to provide custom package.json in `electronize build` but not in `electronize start`. It should be there also for development purpose. For example `electronize start /package-json "mycustom-package.json" `
claunia added the Feature label 2026-01-29 16:40:13 +00:00
Author
Owner

@GregorBiswanger commented on GitHub (Feb 29, 2020):

What do you want to do with your package.json? Have you tried the Electron HostHook feature yet?

@GregorBiswanger commented on GitHub (Feb 29, 2020): What do you want to do with your package.json? Have you tried the Electron HostHook feature yet?
Author
Owner

@Sachin4dotnet commented on GitHub (Mar 22, 2020):

Yes, but sometime some packages are dependent on node and electron versions also which are added in package,json
For example iohook

@Sachin4dotnet commented on GitHub (Mar 22, 2020): Yes, but sometime some packages are dependent on node and electron versions also which are added in package,json For example [iohook ](https://www.npmjs.com/package/iohook)
Author
Owner

@GregorBiswanger commented on GitHub (Apr 24, 2020):

Electron.NET is not compatible with lower versions of Electron. It all depends on the Electron.NET versioning. As an example the next version will be: 8.31.1 - 8 stands for the supported electron version. The 31 for .NET Core 3.1 - and the 1 for our release from the new Electron version.

Compatibility for an electron / node version can be introduced with the electron-rebuild super package.

Alternatively, you can manage the Electron HostHook manually different package.json files yourself.

@GregorBiswanger commented on GitHub (Apr 24, 2020): Electron.NET is not compatible with lower versions of Electron. It all depends on the Electron.NET versioning. As an example the next version will be: 8.31.1 - 8 stands for the supported electron version. The 31 for .NET Core 3.1 - and the 1 for our release from the new Electron version. Compatibility for an electron / node version can be introduced with the `electron-rebuild` super package. Alternatively, you can manage the Electron HostHook manually different package.json files yourself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#462