From 07d8b862db7681b965ccb7f2bf6ea67e95dd46d7 Mon Sep 17 00:00:00 2001 From: David Balatero Date: Wed, 21 Jun 2017 16:59:23 -0700 Subject: [PATCH] Use app interface to get the version --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index e5be36739..061a4df48 100644 --- a/main.js +++ b/main.js @@ -150,7 +150,7 @@ function createWindow () { slashes: true, query: { locale: localeName, - version: package_json.version, + version: app.getVersion(), buildExpiration: config.get('buildExpiration'), serverUrl: config.get('serverUrl'), environment: environment,