|
|
|
@ -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({
|
|
|
|
|