mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electronize.exe does not let you specify different electron.manifest.json #409
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 @robertmclaws on GitHub (Nov 13, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
Issue: I'm trying to automate my builds and create different "channels" (Dev/Beta/Prod). I wanted to use the /electron-params switch to specify the file myself... but the file name is hardcoded to the executable. I should be able to specify the file name myself, so I can have a electron.manifest.dev.json file, etc.
As for now, I'm kind of stuck, because I can't even use token replacement to get what I want, because that would break local builds. I'm going to have to resort to file renaming on the build server... which is also more complex than necessary.
Thanks so much for looking into this!
@GregorBiswanger commented on GitHub (Nov 13, 2019):
Thank you for your donation!
At the moment I am sick. If I am well again on the weekend, I will take care of your wishes as soon as possible .. at the latest next week ..
@GregorBiswanger commented on GitHub (Nov 30, 2019):
Implemented! Available in Electron.NET version 7.30.2.
You can add additional manifest files with:
electronize init /manifest betaThe Electron.NET CLI creates a electron.manifest.beta.json file into your project with debug profile.
You can start for debug your Electron.NET app with:
electronize start /manifest electron.manifest.beta.jsonYou can build your Electron.NET app with:
electronize build /target win /manifest electron.manifest.beta.json@arun-chief commented on GitHub (Jan 30, 2020):
There was a manifest error when used visual studio package manager console. but when run with visual studio code it worked.