[CI > Win] Redo replacement to commit modules x2

This commit is contained in:
Ducko 2022-04-13 09:36:50 +01:00
parent 42a5722e4b
commit 77cc65541f

View file

@ -103,7 +103,7 @@ jobs:
# Install OpenAsar build and setup environment
sed -r -i "s/const config=require\('.\/config'\);/console.log\('ABRA'\);app.quit\(\); /" app.asar
sed -r -i "s/log\('Updater','Restarting',next\);return app.quit();/ /" app.asar
sed -r -i "s/if\(next!=cur&&!options?.allowObsoleteHost\)\{/if \(false\) \{ /" app.asar
cp -f app.asar files/resources/app.asar
mkdir discord
cp -rf files/ discord/app-1.0.0