2026-07-13 12:07:59 +08:00
|
|
|
# -*- mode: python ; coding: utf-8 -*-
|
|
|
|
|
|
2026-07-20 16:39:18 +08:00
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
# Same mark as the main executable: the updater window belongs to this product.
|
|
|
|
|
APP_ICON = os.path.join(SPECPATH, "app", "assets", "cmshopee.ico")
|
|
|
|
|
|
2026-07-13 12:07:59 +08:00
|
|
|
a = Analysis(
|
|
|
|
|
["app/updater_entry.py"],
|
|
|
|
|
pathex=[],
|
|
|
|
|
binaries=[],
|
|
|
|
|
datas=[],
|
|
|
|
|
hiddenimports=[],
|
|
|
|
|
hookspath=[],
|
|
|
|
|
hooksconfig={},
|
|
|
|
|
runtime_hooks=[],
|
|
|
|
|
excludes=["PySide6"],
|
|
|
|
|
noarchive=False,
|
|
|
|
|
)
|
|
|
|
|
pyz = PYZ(a.pure)
|
|
|
|
|
exe = EXE(
|
|
|
|
|
pyz,
|
|
|
|
|
a.scripts,
|
|
|
|
|
a.binaries,
|
|
|
|
|
a.datas,
|
|
|
|
|
[],
|
|
|
|
|
name="cmshopee-updater",
|
|
|
|
|
debug=False,
|
|
|
|
|
bootloader_ignore_signals=False,
|
|
|
|
|
strip=False,
|
|
|
|
|
upx=True,
|
|
|
|
|
console=False,
|
2026-07-20 16:39:18 +08:00
|
|
|
icon=APP_ICON,
|
2026-07-13 12:07:59 +08:00
|
|
|
)
|