From 4a352063026fde28eed48075a6e8119cca1049a0 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 24 May 2016 09:42:31 -0700 Subject: [PATCH] :art: --- default_app/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default_app/main.js b/default_app/main.js index 32461525aa4e..8fc9792fec49 100644 --- a/default_app/main.js +++ b/default_app/main.js @@ -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) {