package: create app/package.json at build time
This commit is contained in:
parent
4d4ddb466b
commit
0ce4af3275
5 changed files with 32 additions and 30 deletions
|
|
@ -7,7 +7,7 @@ window.ELECTRON_FULLSCREEN = window.ELECTRON_FULLSCREEN || false
|
|||
|
||||
window.LANG = (ARGV.lang || navigator.language || '').substr(0, 2).toLowerCase()
|
||||
|
||||
window.PACKAGE = require('../../../app/package.json')
|
||||
window.PACKAGE = require('../../../package.json')
|
||||
document.title = PACKAGE.productName + ' v' + PACKAGE.version
|
||||
|
||||
window.LOADING = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue