fix: make HarmonyOS project initialization reproducible

This commit is contained in:
OpenClaw committed 2026-03-09 19:55:11 +08:00
1 parent 4613919277
commit c82c1439a7
7 files changed
+193 -53

No files matched your search

Executable
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env sh
set -eu
if [ -x "./node_modules/.bin/hvigor" ]; then
exec ./node_modules/.bin/hvigor "$@"
fi
if command -v hvigor >/dev/null 2>&1; then
exec hvigor "$@"
fi
echo "hvigor not found." >&2
echo "Open this project in DevEco Studio first, or install hvigor in your environment, then rerun ./hvigorw." >&2
exit 127