пре-релизный exe

исправлена иконка (добавлена в exe)
исправлен баг: xml не сохранлся при нажатии del на клаве
This commit is contained in:
Razvalyaev 2025-07-10 19:01:42 +03:00
parent c44216a450
commit 0d59f88444
4 changed files with 218 additions and 214 deletions

Binary file not shown.

View File

@ -58,7 +58,6 @@ class VarEditor(QWidget):
base_path = scanVars.get_base_path()
icon_path = os.path.join(base_path, "icon.ico")
self.setWindowIcon(QIcon(icon_path))
if os.path.exists(icon_path):
self.setWindowIcon(QIcon(icon_path))
@ -413,6 +412,7 @@ class VarEditor(QWidget):
break
self.table.populate(self.vars_list, self.structs, self.write_to_xml)
self.write_to_xml()
def __open_variable_selector(self):

View File

@ -51,6 +51,10 @@ if USE_NUITKA:
# Формируем include-data-file только для DLL
include_data_files = [f"--include-data-file={str(path)}={name}" for name, path in LIBS.items() if path.exists()]
# Добавляем icon.ico как встроенный ресурс
if ICON_ICO_PATH.exists():
include_data_files.append(f"--include-data-file={ICON_ICO_PATH}=icon.ico")
cmd = [
"python", "-m", "nuitka",
"--standalone",

426
vars.xml

File diff suppressed because it is too large Load Diff