[CI > Win] Skip restarting for host update (3)

This commit is contained in:
Ducko 2022-04-13 08:56:56 +01:00
parent 493c3488eb
commit c8ae6b09ee
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ jobs:
tar xf client.tar
# Install OpenAsar build and setup environment
sed -i "s/^\/\/ <TEST_FLAG>.*$/if \(name == 'discord_rpc'\) { console.log\('ABRA'\); process.exit\(\); }/" app.asar
sed -i "s/^\/\/ <TEST_FLAG>.*$/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