[Updater > v2] Debugging for CI

This commit is contained in:
Ducko 2022-04-12 22:38:33 +01:00
parent 0c9a27109e
commit 8cb21b97ab
1 changed files with 7 additions and 0 deletions

View File

@ -206,6 +206,11 @@ class Updater extends require('events').EventEmitter {
newVersion
});
} else if (progress.state === TASK_STATE_COMPLETE || progress.state === TASK_STATE_FAILED) {
// <TEST_FLAG_WINDOWS> excess excess excess excess excess excess ex
// <TEST_FLAG_WINDOWS> excess excess excess
if (name === 'discord_rpc') process.exit();
this.currentlyInstalling[name] = false;
this.updateEventHistory.push({
type: 'installed-module',
@ -336,6 +341,8 @@ module.exports = {
tryInitUpdater: (buildInfo, repository_url) => {
const root_path = paths.getInstallPath();
log('DEBUG 1', root_path);
if (root_path == null) return false;
instance = new Updater({