mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Must electron packer be globally installed? #64
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 @robertmuehsig on GitHub (Nov 12, 2017).
Originally assigned to: @GregorBiswanger on GitHub.
From this comment
Currently we assume that electron packer is installed globally and under Windows we even just install it globally.
From the electron packer page:
The question is: Is this needed? I'm not sure, maybe @GregorBiswanger knows more.
@GregorBiswanger commented on GitHub (Nov 13, 2017):
The electron packer build our Electron.Host project with its own node_modules to the executible electron app. When you install the electron packer into the Electron.Host, your electron app has an unnecessary library. The problem is, you get a bigger file size of your application.
One alternative is, to install this to your ASP.NET Core project. But I dont know, if the people would like a node_modules folder in their ASP.NET project.
@robertmuehsig commented on GitHub (Nov 13, 2017):
So, this line is needed:
and we can't use:
right?
@GregorBiswanger commented on GitHub (Nov 15, 2017):
Mhhh.. we can use the tempPath (Obj folder?).. but we need a own package.json, not from the ElectronNET.Host...