2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-20 20:32:28 +00:00

Fix #28 - Executable name being 'Electron' always under Windows (PR #389)

This commit is contained in:
Stefan Koshy 2017-06-18 19:13:35 -04:00 committed by Ronan Jouchet
parent 751eef1fd7
commit 91505c90fe

View File

@ -17,6 +17,11 @@ export default function (inpOptions) {
const options = {
dir: PLACEHOLDER_APP_DIR,
name: inpOptions.name,
win32metadata: {
ProductName: inpOptions.name,
InternalName: inpOptions.name,
FileDescription: inpOptions.name,
},
targetUrl: normalizeUrl(inpOptions.targetUrl),
platform: inpOptions.platform || inferPlatform(),
arch: inpOptions.arch || inferArch(),