Skip to content

Commit

Permalink
try fix coi-serviceworker on cairo page
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoVan committed Apr 23, 2023
1 parent 58147b5 commit 4580a98
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 135 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/gh-pages.yml
Expand Up @@ -23,13 +23,10 @@ jobs:
export PANGOCAIRO_FLAGS="$($pkg_config --libs --cflags glib-2.0, gobject-2.0, cairo, pixman-1, freetype2, fontconfig, cairo, expat, harfbuzz, pangocairo) -O3 -s USE_SDL=2 -s EMULATE_FUNCTION_POINTER_CASTS -s PTHREAD_POOL_SIZE=10 -s USE_PTHREADS=1 -s ASYNCIFY"
$emcc $PANGOCAIRO_FLAGS --embed-file ./fonts@/usr/share/fonts/ hello-pangocairo.c -o hello-pangocairo.html
mkdir web
mv hello-pangocairo.html hello-pangocairo.original.html
mv *.png web/
mv *.js web/
mv *.wasm web/
mv *.html web/
# https://github.com/gzuidhof/coi-serviceworker
sed 's|</head>|<script src="coi-serviceworker.js"></script></head>|' web/hello-pangocairo.original.html > web/hello-pangocairo.html
- name: Deploy GitHub Pages
run: |
git worktree add gh-pages
Expand Down
132 changes: 0 additions & 132 deletions coi-serviceworker.js

This file was deleted.

0 comments on commit 4580a98

Please sign in to comment.