Add image processor PNG file to UI assets

This commit is contained in:
SitiWeb
2026-01-23 16:53:14 +01:00
parent 551948d828
commit 43c5bdac8c
5 changed files with 39 additions and 4 deletions

View File

@@ -3,8 +3,12 @@ import glob
import os
# -*- mode: python ; coding: utf-8 -*-
# Collect all PNG and JPG images in the ui/images directory
image_files = [(file, "ui/images") for file in glob.glob("ui/images/*.*") if file.endswith(('.png', '.jpg', '.jpeg'))]
# Collect UI images/icons in the ui/images directory
image_files = [
(file, "ui/images")
for file in glob.glob("ui/images/*.*")
if file.lower().endswith((".png", ".jpg", ".jpeg", ".ico"))
]
block_cipher = None
@@ -33,13 +37,15 @@ exe = EXE(
a.zipfiles,
a.datas,
[],
name='main',
name='image_processor',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
icon='ui/images/image_processor.ico',
disable_windowed_traceback=False,
argv_emulation=False,