Emscripten: updated deply script

This commit is contained in:
Sergii Pylypenko
2021-05-05 00:17:31 +03:00
parent 55ef341194
commit 7d90871a36
2 changed files with 3 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
INSTALL_PATH=`pwd`/../../../openttd-touch-webapp
export NO_CLEAN=1
./emscripten-build.sh release $INSTALL_PATH || exit 1
cd $INSTALL_PATH || exit 1

View File

@@ -90,7 +90,7 @@ mkdir -p baseset
-DTimidity_INCLUDE_DIR=`pwd`/libtimidity-0.2.7/build-wasm/include \
|| exit 1
rm -f openttd.html
[ -z "$NO_CLEAN" ] && rm -f openttd.html
emmake make -j8 VERBOSE=1 || exit 1
cp -f *.html *.js *.data *.wasm ../media/openttd.256.png ../os/emscripten/openttd.webapp "$INSTALL_PATH"