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

+17
View File
@@ -0,0 +1,17 @@
@echo off
setlocal
if exist .\node_modules\.bin\hvigor.cmd (
.\node_modules\.bin\hvigor.cmd %*
exit /b %errorlevel%
)
where hvigor >nul 2>nul
if %errorlevel%==0 (
hvigor %*
exit /b %errorlevel%
)
echo hvigor not found.
echo Open this project in DevEco Studio first, or install hvigor in your environment, then rerun hvigorw.bat.
exit /b 127