[CI > Win] Stub restarting
This commit is contained in:
parent
2c490bd328
commit
3c7467ba83
1 changed files with 1 additions and 0 deletions
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue