[Bootstrap] Add more expected globals
This commit is contained in:
parent
1097d42de1
commit
d952aa72fa
1 changed files with 1 additions and 0 deletions
1
src/bootstrap.js
vendored
1
src/bootstrap.js
vendored
|
@ -10,6 +10,7 @@ global.moduleDataPath = paths.getModuleDataPath(); // Global because discord
|
|||
|
||||
const buildInfo = require('./utils/buildInfo');
|
||||
app.setVersion(buildInfo.version); // More global because discord / electron
|
||||
global.releaseChannel = buildInfo.releaseChannel;
|
||||
|
||||
log('BuildInfo', 'Loaded build info', buildInfo);
|
||||
|
||||
|
|
Loading…
Reference in a new issue