mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Why is $(ElectronPackageId) mapped to different electron builder items or am I confused how this works #1046
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 @markatosi on GitHub (Jan 2, 2026).
ElectronPackageId seems to be mapped to: (according to the wiki) multiple items from electron builder config that should be separate values. I may be confused on this point though but this is what the wiki implies.
This is problematic. For instance Apple wants the appId value to conform to
com.companyname.appname
@softworkz commented on GitHub (Jan 9, 2026):
The only value that is being hard-set here is "name".
The others are only defaults, they are set here because they should have a reasonable and consistent value (by default), especially since electron-builder uses a different executable name on Linux than on other platforms, but for dotnet-first app launch, we need a consistent executable name (unless someone takes control of it explicitly).
So, why "only defaults"? Because the JSON value of "build" is the electron-builder config and what you have in
electron-builder.jsonshould get merged over this, allowing you to override those values there.@markatosi commented on GitHub (Jan 9, 2026):
Cool, thanks for the clarification