🎨
This commit is contained in:
parent
6de4249af8
commit
4a35206302
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue