Fix naming

This commit is contained in:
2026-06-12 17:24:01 +08:00
parent e09f16a3aa
commit c9eae220f0
2 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -24,21 +24,21 @@ echo Done.
REM ── 3. Clean previous builds ────────────────────────────────
echo [3/4] Cleaning previous builds...
if exist build rmdir /s /q build
if exist dist\ZynqFlaster.exe del /q dist\ZynqFlaster.exe
if exist dist\ZynqFlasher.exe del /q dist\ZynqFlasher.exe
if not exist dist mkdir dist
REM ── 4. Build ────────────────────────────────────────────────
echo [4/4] Building ZynqFlaster.exe...
pyinstaller --clean --noconfirm ZynqFlaster.spec
echo [4/4] Building ZynqFlasher.exe...
pyinstaller --clean --noconfirm ZynqFlasher.spec
echo.
if exist dist\ZynqFlaster.exe (
if exist dist\ZynqFlasher.exe (
echo ============================================================
echo Build successful!
echo Output: dist\ZynqFlaster.exe
echo Output: dist\ZynqFlasher.exe
echo ============================================================
) else (
echo [ERROR] Build failed — dist\ZynqFlaster.exe not found.
echo [ERROR] Build failed — dist\ZynqFlasher.exe not found.
pause
exit /b 1
)