From 6c55cc750e6582ffde174f4458bc2225cd1fa608 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 4 Apr 2024 14:12:01 +0300 Subject: [PATCH] phc wasm: fix make --- pygame-wasm/phantomcastle/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pygame-wasm/phantomcastle/Makefile b/pygame-wasm/phantomcastle/Makefile index f867a5c..7c3cf84 100644 --- a/pygame-wasm/phantomcastle/Makefile +++ b/pygame-wasm/phantomcastle/Makefile @@ -8,5 +8,10 @@ assets: assets/%.png: assets $(../../assets/*.png) cp ../../$@ assets/ -build/web.zip: Makefile main.py $(assets_files) - pygbag --width 1000 --height 1000 --build --archive . +build/web: Makefile main.py $(assets_files) + 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 ."