[CI > Win] Fix sed no restart replacement
This commit is contained in:
parent
77cc65541f
commit
85be6e97d5
1 changed files with 1 additions and 1 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -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/if\(next!=cur&&!options?.allowObsoleteHost\)\{/if \(false\) \{ /" 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
|
||||
|
|
Loading…
Reference in a new issue