diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b035b5e..ba9964a 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -69,7 +69,7 @@ jobs: grep -m1 "Installing discord_rpc" <&${COPROC[0]} sleep 1 [[ $COPROC_PID ]] && kill $COPROC_PID - timeout-minutes: 3 + timeout-minutes: 2 test-win: name: Test Windows @@ -121,7 +121,7 @@ jobs: run: | cd discord/app-1.0.0 ./DiscordCanary.exe | grep -m1 "ABRA" - timeout-minutes: 3 + timeout-minutes: 2 shell: bash diff --git a/src/bootstrap.js b/src/bootstrap.js index 14c1afe..8dbd8ff 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -98,9 +98,6 @@ const startUpdate = async () => { log('AsarUpdate', e); } } - - - // excess excess excess excess excess excess exce }, 3000); }); @@ -114,6 +111,8 @@ module.exports = () => { return app.quit(); } + intentional_fail(); // wow + if (app.isReady()) { startUpdate(); } else { diff --git a/src/updater/updater.js b/src/updater/updater.js index a239ce8..5b4445d 100644 --- a/src/updater/updater.js +++ b/src/updater/updater.js @@ -163,7 +163,7 @@ class Updater extends require('events').EventEmitter { return app.quit(); } - // this._commitModulesInner(versions); + this._commitModulesInner(versions); } _commitModulesInner(versions) {