CI: try to load ./coi-serviceworker.js

This commit is contained in:
Reinhold Gschweicher 2022-03-31 23:12:46 +02:00
parent 2332d1c22f
commit 4a0aeeb4f2
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ jobs:
run: |
mkdir emscripten
curl -o emscripten/coi-serviceworker.js https://raw.githubusercontent.com/gzuidhof/coi-serviceworker/ed2fbe98a222b8e0991a839f504137408d56d2e6/coi-serviceworker.js
sed -i -e 's#</title>#</title><script src="coi-serviceworker.js"></script>#' build_em/infinisim.html
sed -i -e 's#</title>#</title><script src="./coi-serviceworker.js"></script>#' build_em/infinisim.html
mv build_em/infinisim.html \
build_em/infinisim.js \
build_em/infinisim.wasm \