diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d7569e8..8006e07 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -70,7 +70,10 @@ jobs: - name: Check if Discord will startup run: | - xvfb-run -e /dev/stdout ./DiscordCanary/DiscordCanary --enable-logging + coproc { xvfb-run -e /dev/stdout ./DiscordCanary/DiscordCanary --enable-logging; } + grep -m1 "Installing discord_rpc" <&${COPROC[0]} + sleep 1 + [[ $COPROC_PID ]] && kill $COPROC_PID timeout-minutes: 1 release: diff --git a/scripts/strip.js b/scripts/strip.js index 1561a5f..5ec1bc6 100644 --- a/scripts/strip.js +++ b/scripts/strip.js @@ -13,6 +13,7 @@ const stripCode = (code) => code .replaceAll('typeof ', 'typeof#') .replaceAll(' of ', '#of#') .replaceAll(' in ', '#in#') + .replaceAll('case ', 'case#') .replaceAll('await ', 'await#') .replaceAll('new ', 'new#') .replaceAll('return ', 'return#')