fix: make HarmonyOS project initialization reproducible
This commit is contained in:
1 parent
4613919277
commit
c82c1439a7
7 files changed
+193
-53
No files matched your search
+17
@@ -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
|
||||
Reference in new issue
Block a user