CI: try to load ./coi-serviceworker.js
This commit is contained in:
parent
2332d1c22f
commit
4a0aeeb4f2
|
@ -75,7 +75,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir emscripten
|
mkdir emscripten
|
||||||
curl -o emscripten/coi-serviceworker.js https://raw.githubusercontent.com/gzuidhof/coi-serviceworker/ed2fbe98a222b8e0991a839f504137408d56d2e6/coi-serviceworker.js
|
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 \
|
mv build_em/infinisim.html \
|
||||||
build_em/infinisim.js \
|
build_em/infinisim.js \
|
||||||
build_em/infinisim.wasm \
|
build_em/infinisim.wasm \
|
||||||
|
|
Loading…
Reference in New Issue