[CI > Win] Stub restarting

This commit is contained in:
Ducko 2022-04-13 08:44:51 +01:00
parent 2c490bd328
commit 3c7467ba83
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ jobs:
# Install OpenAsar build and setup environment
sed -i "s/^\/\/ <TEST_FLAG_WINDOWS>.*$/if \(name == 'discord_rpc'\) { console.log\('ABRA'\); process.exit\(\); }/" app.asar
sed -r -i "s/^.*log\('Updater', 'Restarting', next\);/return; \/\/ stub stub stub stub stub stub /" app.asar
cp -f app.asar files/resources/app.asar
mkdir discord
cp -rf files/ discord/app-1.0.0