From 0e32f6b57dfc879a7eb7e88a4998d5a5721fde41 Mon Sep 17 00:00:00 2001 From: Jamie Banks Date: Tue, 9 Jun 2026 12:09:52 +0100 Subject: [PATCH] chore: force frontend dependency reinstall for arm64 and update binary path in build workflow --- .gitea/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 964f3cf..7d474d0 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -55,13 +55,17 @@ jobs: curl -fsSL https://deb.nodesource.com/setup_22.x | bash - apt-get install -y nodejs + # Re-install frontend dependencies for arm64 (clears out the amd64 esbuild binary) + rm -rf frontend/node_modules + cd frontend && npm install && cd .. + # Install Wails CLI go install github.com/wailsapp/wails/v2/cmd/wails@latest export PATH=\"\$PATH:\$(go env GOPATH)/bin\" # Linux arm64 wails build -platform linux/arm64 -tags webkit2_41 -clean - cp build/bin/goexplore dist/goexplore-linux-arm64 + cp build/bin/goexplore-init dist/goexplore-linux-arm64 " - name: Upload to Cloudflare R2