From 8cb21b97ab000ab1240f24cf3f731607bcd881fc Mon Sep 17 00:00:00 2001 From: Oj Date: Tue, 12 Apr 2022 22:38:33 +0100 Subject: [PATCH] [Updater > v2] Debugging for CI --- src/updater/updater.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/updater/updater.js b/src/updater/updater.js index 98cabd1..68953cd 100644 --- a/src/updater/updater.js +++ b/src/updater/updater.js @@ -206,6 +206,11 @@ class Updater extends require('events').EventEmitter { newVersion }); } else if (progress.state === TASK_STATE_COMPLETE || progress.state === TASK_STATE_FAILED) { +// excess excess excess excess excess excess ex + + // 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({