Use app interface to get the version
This commit is contained in:
parent
eb6aed421a
commit
07d8b862db
2
main.js
2
main.js
|
@ -150,7 +150,7 @@ function createWindow () {
|
||||||
slashes: true,
|
slashes: true,
|
||||||
query: {
|
query: {
|
||||||
locale: localeName,
|
locale: localeName,
|
||||||
version: package_json.version,
|
version: app.getVersion(),
|
||||||
buildExpiration: config.get('buildExpiration'),
|
buildExpiration: config.get('buildExpiration'),
|
||||||
serverUrl: config.get('serverUrl'),
|
serverUrl: config.get('serverUrl'),
|
||||||
environment: environment,
|
environment: environment,
|
||||||
|
|
Loading…
Reference in New Issue