Use app interface to get the version

This commit is contained in:
David Balatero 2017-06-21 16:59:23 -07:00 committed by Scott Nonnenberg
parent eb6aed421a
commit 07d8b862db
No known key found for this signature in database
GPG Key ID: A4931C09644C654B
1 changed files with 1 additions and 1 deletions

View File

@ -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,