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

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,