mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #228] Adds new command line parameters to 'electronize build' #1113
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?
Original Pull Request: https://github.com/ElectronNET/Electron.NET/pull/228
State: closed
Merged: Yes
Fixes #227.
electronize buildallowing users to specify the output path, and to provide their own package.json and to specify that they want annpm install/package-jsonspecifies a package.json file the user wishes to use, and sets/install-modules/install-modulesspecifies thatelectronize buildshould alwaysnpm install/relative-pathspecifies a relative path to output binaries/absolute-pathspecifies an absolute path to output binaries.buildReleaseNuGetPackages.cmdscript.Package.jsonto match the license included in the code (ISC -> MIT)The path specifications change the path provided to
electron-packager.The
package-jsonargument overwrites the bundled package.json after laying out the pre-packed files.I've tested all four commands manually.
I have noticed you have to be very careful to match your custom package.json with the auto deployed package.json. So documentation for these commands should note that. My procedure was to layout the files normally and then edit the package.json setting it aside to provide as an argument.
Update:
After additional work added one more command line parameter.