From d952aa72fa44c3f10f3f6e3e178a09c1e39e898b Mon Sep 17 00:00:00 2001 From: Oj Date: Sat, 11 Dec 2021 11:11:42 +0000 Subject: [PATCH] [Bootstrap] Add more expected globals --- src/bootstrap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap.js b/src/bootstrap.js index 05404d4..ed9725f 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -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);