phc wasm: fix make
This commit is contained in:
parent
b8ecdd8f23
commit
6c55cc750e
@ -8,5 +8,10 @@ assets:
|
|||||||
assets/%.png: assets $(../../assets/*.png)
|
assets/%.png: assets $(../../assets/*.png)
|
||||||
cp ../../$@ assets/
|
cp ../../$@ assets/
|
||||||
|
|
||||||
build/web.zip: Makefile main.py $(assets_files)
|
build/web: Makefile main.py $(assets_files)
|
||||||
pygbag --width 1000 --height 1000 --build --archive .
|
pygbag --width 1000 --height 1000 --can_close 1 --title "Призрачный лабиринт: сокровища небесного замка" --build .
|
||||||
|
sed -i -e "s|https://pygame-web.github.io/archives/0.9/|https://b4tman.ru/phantomcastle/pygbag/0.9/|g" build/web/index.html
|
||||||
|
sed -i -e "s|en-us|ru-RU|g" build/web/index.html
|
||||||
|
|
||||||
|
build/web.zip: build/web
|
||||||
|
sh -exc "cd build/web && zip -r ../web.zip ."
|
||||||
|
Loading…
Reference in New Issue
Block a user