mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
there should be an option to provide custom package.json in electronize start also #462
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 buildbut not inelectronize start.It should be there also for development purpose.
For example
electronize start /package-json "mycustom-package.json"@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?
@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
@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-rebuildsuper package.Alternatively, you can manage the Electron HostHook manually different package.json files yourself.