Currently, the name of the Electron executable output/artifact is determined by the Title field in the project/publish configuration (fallback to MSBuildProjectName). There is currently also the rather hidden ElectronExecutable field available for further customization, but that only affects the C# binding name for the Electron executable, not the actual output itself.
I would like to propose to make ElectronExecutable the actual executable name (fallback to Title or MSBuildProjectName if needed/for backwards compatibility) and use the Title only for the product name. In the electron-builder configuration, this would mean:
Title maps to productName (which I believe it already does right now)
ElectronExecutable maps to executableName (which so far used productName)
This way, we could also (theoretically) clean up any illegal file characters without affecting the application title itself.
Currently, the name of the Electron executable output/artifact is determined by the
Titlefield in the project/publish configuration (fallback toMSBuildProjectName). There is currently also the rather hiddenElectronExecutablefield available for further customization, but that only affects the C# binding name for the Electron executable, not the actual output itself.I would like to propose to make
ElectronExecutablethe actual executable name (fallback toTitleorMSBuildProjectNameif needed/for backwards compatibility) and use theTitleonly for the product name. In theelectron-builderconfiguration, this would mean:Titlemaps toproductName(which I believe it already does right now)ElectronExecutablemaps toexecutableName(which so far usedproductName)This way, we could also (theoretically) clean up any illegal file characters without affecting the application title itself.