[Updater > v2] Debugging for CI
This commit is contained in:
parent
0c9a27109e
commit
8cb21b97ab
|
@ -206,6 +206,11 @@ class Updater extends require('events').EventEmitter {
|
||||||
newVersion
|
newVersion
|
||||||
});
|
});
|
||||||
} else if (progress.state === TASK_STATE_COMPLETE || progress.state === TASK_STATE_FAILED) {
|
} 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.currentlyInstalling[name] = false;
|
||||||
this.updateEventHistory.push({
|
this.updateEventHistory.push({
|
||||||
type: 'installed-module',
|
type: 'installed-module',
|
||||||
|
@ -336,6 +341,8 @@ module.exports = {
|
||||||
|
|
||||||
tryInitUpdater: (buildInfo, repository_url) => {
|
tryInitUpdater: (buildInfo, repository_url) => {
|
||||||
const root_path = paths.getInstallPath();
|
const root_path = paths.getInstallPath();
|
||||||
|
|
||||||
|
log('DEBUG 1', root_path);
|
||||||
if (root_path == null) return false;
|
if (root_path == null) return false;
|
||||||
|
|
||||||
instance = new Updater({
|
instance = new Updater({
|
||||||
|
|
Loading…
Reference in New Issue