Add executable versioning support for Windows builds

- Implemented `set_exe_version` method in `WindowsBuilder` to set the version information for the generated executable.
- This ensures proper MSI updates by comparing file versions.
- Added error handling for missing `pefile` dependency and version resource.
- Updated `requirements-dev.txt` to include `pefile` as a dependency for building.
This commit is contained in:
claudi 2026-02-20 08:24:44 +01:00
parent a8aa54fa5e
commit bf7c7b5e5f
5 changed files with 2932 additions and 2874 deletions

View file

@ -14,6 +14,7 @@ isort>=5.12.0
# Building
pyinstaller>=6.0.0
pefile>=2023.2.7
# Documentation
sphinx>=7.0.0