mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
CLI: Include electron-builder configuration over the electron.manifest.json #30
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 @GregorBiswanger on GitHub (Oct 24, 2017).
Originally assigned to: @robertmuehsig on GitHub.
The electron-builder supports a build configuration through the package.json.
We need to inlcude a default configuration in the electron.manifest.json, that based on the electron-builder build configuration.
Maybe we can include an assets folder with sample images? ("electronize init").
Information about the electron-builder configuration:
https://github.com/electron-userland/electron-builder/blob/master/docs/configuration/configuration.md
http://electron.rocks/electron-builder-explained/
@robertmuehsig commented on GitHub (Oct 25, 2017):
Could you share a sample configuration? I'm not sure how to apply those config values :/
@GregorBiswanger commented on GitHub (Oct 25, 2017):
"build": { "appId": "com.jamzi.quickstart", "win": { "target": "nsis", "icon": "build/icon.ico" } }See here too:
https://medium.com/@jamzi/building-desktop-applications-with-electron-electron-builder-47484193cbcc
@robertmuehsig commented on GitHub (Nov 8, 2017):
What is "nsis"? Can we use this to configure App Title names / icons for the different platforms?
@GregorBiswanger commented on GitHub (Nov 8, 2017):
Good question. I don't know...
@yoDon commented on GitHub (Nov 18, 2017):
Is this the right place to ask about how to add additional assets/resources to the build process?
I ran into the need for additional assets/resources as kind of a blocker while working on the Electron.NET-React-Typescript-MobX boilerplate as described here.
@DrSensor commented on GitHub (Feb 5, 2018):
One of use case that I need
electron-builderis to package my app into snap then deploy it to arm device for kiosk app.@robertmuehsig commented on GitHub (Feb 6, 2018):
Electron-builder is a more advanced electron packer? (my electron knowledge is pretty low :/)
@DrSensor commented on GitHub (Feb 6, 2018):
My opinion is biased because previously I build desktop app with electron-vue and I need some features of electron-builder have (mainly packaging for many linux distros, CI support, and auto add-build SQLite module). Maybe this short section doc can explain better.
The most compelling feature (although never use it) is auto updater. This feature open possibility to release 2 or more different version app (e.g stable and nightly.build) using staged rollouts.
@robertmuehsig commented on GitHub (Feb 19, 2018):
We released a new version and now support addional params from electron-packager, e.g. we can now execute something like this:
build /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32 /electron-params "--prune=true "
Via the /electron-params a user can just tunnel the desired commands directly to the electron-packager.
Please give feedback to this feature. I'm not sure if this will solve any problem, but maybe this is a start :)
@DrSensor commented on GitHub (Apr 17, 2018):
Would you reference which commit or PR for that feature?