Fix naming
This commit is contained in:
+6
-6
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user