This commit is contained in:
Kevin Sawicki 2016-05-24 09:42:31 -07:00
parent 6de4249af8
commit 4a35206302

View file

@ -242,8 +242,10 @@ function loadApplicationPackage (packagePath) {
showErrorMessage(`Unable to parse ${packageJsonPath}\n\n${e.message}`)
return
}
if (packageJson.version) app.setVersion(packageJson.version)
if (packageJson.version) {
app.setVersion(packageJson.version)
}
if (packageJson.productName) {
app.setName(packageJson.productName)
} else if (packageJson.name) {