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
+3 -3
View File
@@ -2,8 +2,8 @@
"""PyInstaller spec for Zynq Flasher Windows x64 single-exe build. """PyInstaller spec for Zynq Flasher Windows x64 single-exe build.
Usage: Usage:
pyinstaller --clean --noconfirm ZynqFlaster.spec pyinstaller --clean --noconfirm ZynqFlasher.spec
output: dist/ZynqFlaster.exe output: dist/ZynqFlasher.exe
""" """
from PyInstaller.utils.hooks import collect_data_files, collect_submodules from PyInstaller.utils.hooks import collect_data_files, collect_submodules
@@ -47,7 +47,7 @@ exe = EXE(
a.zipfiles, a.zipfiles,
a.datas, a.datas,
[], [],
name='ZynqFlaster', name='ZynqFlasher',
debug=False, debug=False,
bootloader_ignore_signals=False, bootloader_ignore_signals=False,
strip=False, strip=False,
+6 -6
View File
@@ -24,21 +24,21 @@ echo Done.
REM ── 3. Clean previous builds ──────────────────────────────── REM ── 3. Clean previous builds ────────────────────────────────
echo [3/4] Cleaning previous builds... echo [3/4] Cleaning previous builds...
if exist build rmdir /s /q build 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 if not exist dist mkdir dist
REM ── 4. Build ──────────────────────────────────────────────── REM ── 4. Build ────────────────────────────────────────────────
echo [4/4] Building ZynqFlaster.exe... echo [4/4] Building ZynqFlasher.exe...
pyinstaller --clean --noconfirm ZynqFlaster.spec pyinstaller --clean --noconfirm ZynqFlasher.spec
echo. echo.
if exist dist\ZynqFlaster.exe ( if exist dist\ZynqFlasher.exe (
echo ============================================================ echo ============================================================
echo Build successful! echo Build successful!
echo Output: dist\ZynqFlaster.exe echo Output: dist\ZynqFlasher.exe
echo ============================================================ echo ============================================================
) else ( ) else (
echo [ERROR] Build failed — dist\ZynqFlaster.exe not found. echo [ERROR] Build failed — dist\ZynqFlasher.exe not found.
pause pause
exit /b 1 exit /b 1
) )