Commit b21e9d41 by 周田

feat: 打包 updaterHelper.exe 261028.0.0 版本

parent 70ffb3c4
# -*- mode: python ; coding: utf-8 -*-
"""PyInstaller spec for the standalone Windows update helper."""
from pathlib import Path
ROOT = Path(SPECPATH).resolve()
a = Analysis(
[str(ROOT / "updater" / "platforms" / "windows" / "helper_entry.py")],
pathex=[str(ROOT)],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=["tkinter", "unittest"],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name="UpdaterHelper",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
Program Updater 更新日志
=========================
## 261028.1.0 [EXE]
发布日期:2026-10-28
应用 ID:program-updater-helper
目标平台:Windows
架构:x86-64
制品:UpdaterHelper.exe
- 新增仓库根目录 `app.spec`,可在 Windows 上执行
`python -m PyInstaller app.spec` 构建单文件 helper,输出到 `dist/`。
- 提供独立的 `UpdaterHelper.exe`,负责等待旧进程退出、备份并替换主程序、
启动新版以及在启动失败时回滚。
- helper 以无控制台窗口模式构建,错误通过消息框提示。
## 261028.0.0 [WHEEL]
发布日期:2026-10-28
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment