FIX: đã sửa build_windows.bat bước 4
This commit is contained in:
+10
-3
@@ -43,17 +43,24 @@ pip install --no-deps "pedalboard>=0.8.0"
|
||||
echo [4/6] Precompile JS...
|
||||
npm install --no-audit --no-fund
|
||||
if errorlevel 1 (
|
||||
echo npm install that bai - kiem tra internet / package.json
|
||||
echo FAIL: npm install that bai - kiem tra internet / package.json
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
echo - npm OK, kiem tra babel...
|
||||
if not exist "node_modules\@babel\cli\bin\babel.js" (
|
||||
echo THIEU @babel/cli trong node_modules - npm install khong hoan tat
|
||||
echo FAIL: thieu node_modules\@babel\cli\bin\babel.js - npm install khong hoan tat
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
echo - chay Babel...
|
||||
node node_modules/@babel/cli/bin/babel.js app/static/js/app.jsx --config-file ./babel.config.json -o app/static/js/app.precompiled.js
|
||||
if errorlevel 1 exit /b 1
|
||||
if errorlevel 1 (
|
||||
echo FAIL: Babel precompile that bai - xem loi phia tren
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
echo - Babel OK
|
||||
|
||||
echo [5/6] Build daw_engine.exe...
|
||||
pyinstaller engine.spec --clean --noconfirm
|
||||
|
||||
Reference in New Issue
Block a user