mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Help diagnose package.json not picked up #208
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 @MartinKuhne on GitHub (Aug 28, 2018).
I have a VS project on 0.0.9. The file structure is \source\solutiondir\projectdir and the projectdir has both the client and API, as well as a package.json
My goal is to set 'build' properties as per https://github.com/electron-userland/electron-builder
In particular, I need to add a license file to be distributed with the project (using the extraFiles property)
I tried
That wasn't picked up either
I ran procmon and I can see that package.json is being read.
I think I am on the wrong track here. What is the expected behaviour?
Thanks, Martin
@robertmuehsig commented on GitHub (Aug 28, 2018):
I think this is still on the ToDo list :-/ When I remember correctly we only invoke the electron builder via the command line and unfortunatly don't support the build file, See this line in the CLI project: https://github.com/ElectronNET/Electron.NET/blob/master/ElectronNET.CLI/Commands/BuildCommand.cs#L135
@MartinKuhne commented on GitHub (Aug 28, 2018):
Thanks for the quick reply. I tried a CopyFile msbuild task, however it seems it clears out any existing files in the target folder, so that won't work. Finally, added a step on bamboo to add my license file