# -*- mode: python ; coding: utf-8 -*- 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") 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, icon=APP_ICON, )