mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -04:00
Build the web client with LEGACY_VM_SUPPORT so it works in IE11
This commit is contained in:
parent
ba9040b17c
commit
cd08e91473
@ -77,7 +77,7 @@ build_osx64() {
|
||||
build_web() {
|
||||
echo "Building web.."
|
||||
rm cc.js
|
||||
$EMSCRIPTEN_PATH *.c -O1 -o cc.js -s FETCH=1 -s WASM=0 -s ALLOW_MEMORY_GROWTH=1 --preload-file texpacks/default.zip -w
|
||||
$EMSCRIPTEN_PATH *.c -O1 -o cc.js -s FETCH=1 -s WASM=0 -s LEGACY_VM_SUPPORT=1 -s ALLOW_MEMORY_GROWTH=1 --preload-file texpacks/default.zip -w
|
||||
# so game loads textures from classicube.net/static/default.zip
|
||||
sed -i 's#cc.data#/static/default.zip#g' cc.js
|
||||
# fix texture pack overlay always showing 'Download size: Determining..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user