Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: macos setup
Asuka10931198dab954b
diff --git a/justfile b/justfileindex bf093d6c9..361fb1fab 100644--- a/justfile+++ b/justfile@@ -14,7 +14,11 @@ build-harperjs:just build-wasm web# Removes a duplicate copy of the WASM binary if Vite is left to its devices.- sed -i 's/new URL(.*)/new URL()/g' "{{justfile_directory()}}/harper-wasm/pkg/harper_wasm.js"+ if [[ "$OSTYPE" == "darwin"* ]]; then+ sed -i '' 's/new URL(.*)/new URL()/g' "{{justfile_directory()}}/harper-wasm/pkg/harper_wasm.js"+ else+ sed -i 's/new URL(.*)/new URL()/g' "{{justfile_directory()}}/harper-wasm/pkg/harper_wasm.js"+ ficd "{{justfile_directory()}}/packages/harper.js"yarn install -f