From c9eae220f0cb22e64976e2aa8d3918dca9d3499e Mon Sep 17 00:00:00 2001 From: yuysh Date: Fri, 12 Jun 2026 17:24:01 +0800 Subject: [PATCH] Fix naming --- ZynqFlaster.spec => ZynqFlasher.spec | 6 +++--- build_windows.bat | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) rename ZynqFlaster.spec => ZynqFlasher.spec (92%) diff --git a/ZynqFlaster.spec b/ZynqFlasher.spec similarity index 92% rename from ZynqFlaster.spec rename to ZynqFlasher.spec index 0b9b7f7..6ccdca4 100644 --- a/ZynqFlaster.spec +++ b/ZynqFlasher.spec @@ -2,8 +2,8 @@ """PyInstaller spec for Zynq Flasher — Windows x64 single-exe build. Usage: - pyinstaller --clean --noconfirm ZynqFlaster.spec - → output: dist/ZynqFlaster.exe + pyinstaller --clean --noconfirm ZynqFlasher.spec + → output: dist/ZynqFlasher.exe """ from PyInstaller.utils.hooks import collect_data_files, collect_submodules @@ -47,7 +47,7 @@ exe = EXE( a.zipfiles, a.datas, [], - name='ZynqFlaster', + name='ZynqFlasher', debug=False, bootloader_ignore_signals=False, strip=False, diff --git a/build_windows.bat b/build_windows.bat index c0bdc05..200d548 100644 --- a/build_windows.bat +++ b/build_windows.bat @@ -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 )