[Bootstrap] Add more expected globals

This commit is contained in:
Ducko 2021-12-11 11:11:42 +00:00
parent 1097d42de1
commit d952aa72fa

1
src/bootstrap.js vendored
View file

@ -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);