[CI > Win] Stub restarting

This commit is contained in:
Ducko 2022-04-13 08:44:51 +01:00
parent 2c490bd328
commit 3c7467ba83

View file

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