From e905b6364a4720e6d58ae6ed856625a682b79335 Mon Sep 17 00:00:00 2001 From: Jack Kuo Date: Thu, 7 May 2026 07:30:56 +0800 Subject: [PATCH] fix(extension): replace broken wasm-pack installer URL with cargo install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rustwasm.github.io/wasm-pack/installer/ URL returns 404. The alternative wasm-bindgen.github.io URL resolves but its shell installer fails with "ORIG_ARGS[@]: unbound variable". Since cargo is already required to build this project, direct users to "cargo install wasm-pack" instead — consistent with the extension README. Fixes: sysprog21/zhtw-mcp#85 Co-Authored-By: Claude Sonnet 4.6 --- extension/build-wasm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/build-wasm.sh b/extension/build-wasm.sh index cd38984..573cdff 100644 --- a/extension/build-wasm.sh +++ b/extension/build-wasm.sh @@ -4,7 +4,7 @@ set -eu cd "$(dirname "$0")/.." if ! command -v wasm-pack >/dev/null 2>&1; then - echo "wasm-pack is required. Install it from https://rustwasm.github.io/wasm-pack/installer/" >&2 + echo "wasm-pack is required. Install it with: cargo install wasm-pack" >&2 exit 1 fi