mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Add Node Packages to solution #53
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 @newblord on GitHub (Nov 6, 2017).
Originally assigned to: @robertmuehsig, @GregorBiswanger on GitHub.
Is it possible to add other node packages to be used with Electron.
For instance i wanted to add NodeGit.
@robertmuehsig commented on GitHub (Nov 6, 2017):
Oh - great question! @GregorBiswanger, any ideas? Maybe users could add additional npm packages in the electron.manifest.json and we install them and to invoke them we would need a more generic API, something like Electron.Invoke(...)?
@tebeco commented on GitHub (Nov 6, 2017):
i'm not a maintener here, but it might be a good idea to think OPT-IN for few feature in order to decouple stuff and avoid a monolith effect on init and code ;)
@GregorBiswanger commented on GitHub (Nov 6, 2017):
It´s a good idea.. I marked it as a feature request.. We can implement it..
@GregorBiswanger commented on GitHub (Nov 10, 2017):
@newblord & community: How do you like to use the integration feature? To include a npm package is one part.. but how do you like to integrate own node code? I think to use electron-edge is here a good solution.. but I have not tried it before..
Or should we execute a own javascript file in electrons node container?
As example:
Electron.Invoke("myLogic.js");Do you like the second one? It´s easy for me to implement it..
@yoDon commented on GitHub (Nov 18, 2017):
@GregorBiswanger did you guys remove the stock node backend when you added the dotnet backend? If not, couldn't we just run the JS in the node backend (where it would behave the way one would expect). If the stock node backend was removed, would it be possible to have a config setting that adds it back in when desired?
@thEpisode commented on GitHub (Jan 11, 2019):
Hi, I'm interested on this feature to add code in startup, @GregorBiswanger I see you working on it, could you give me any way to use?
@GregorBiswanger commented on GitHub (Jan 11, 2019):
Hi @thEpisode
yes, we are working on it right now. The next release will bring some exciting features:
https://github.com/ElectronNET/Electron.NET/milestone/5
If you're interested, you can test the new feature for us today. Just let me know.
Best,
Gregor