build: production Windows release pipeline (PyInstaller, SBOM, CI, signing hook)
Some checks failed
CI / Test Python 3.10 (push) Has been cancelled
CI / Test Python 3.11 (push) Has been cancelled
CI / Test Python 3.12 (push) Has been cancelled

This commit is contained in:
Dr Jones
2026-05-22 20:05:00 -07:00
parent b852fd264f
commit 08683ab328
10 changed files with 659 additions and 95 deletions

View File

@@ -56,12 +56,9 @@ a = Analysis(
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
# Windows VERSIONINFO — generated by scripts/generate_version_info.py before build.
_version_file = _ROOT / 'build' / 'version_info.txt'
_exe_kwargs = dict(
name='ProxyChainManager',
debug=False,
bootloader_ignore_signals=False,
@@ -77,3 +74,14 @@ exe = EXE(
entitlements_file=None,
uac_admin=True,
)
if _version_file.is_file():
_exe_kwargs['version'] = str(_version_file)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
**_exe_kwargs,
)