From 26e3b330849b9d82c2520a033421a723e5a163a3 Mon Sep 17 00:00:00 2001 From: myin Date: Fri, 18 Oct 2024 20:31:18 +0200 Subject: [PATCH] use wasm32 arch --- build-template.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-template.sh b/build-template.sh index af3259e..69ccfa1 100755 --- a/build-template.sh +++ b/build-template.sh @@ -6,6 +6,9 @@ ENCRYPTION_KEY="$3" TARGET="template_release" ARCH="x86_64" +if [ $PLATFORM = "web" ]; then + ARCH="wasm32" +fi if [ ${#ENCRYPTION_KEY} -ne 64 ]; then echo "Invalid encryption key"