We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f8deb7 commit 34b8fc8Copy full SHA for 34b8fc8
3 files changed
build.py
@@ -18,7 +18,8 @@
18
'--clean',
19
'--collect-all=ttkbootstrap', # Important for themes
20
'--add-data=All Games Files;All Games Files', # Format: "source;dest" (Windows)
21
- '--icon=NONE' # You could add an icon here if available
+ '--add-data=logo.ico;.', # Bundle icon for runtime use
22
+ '--icon=logo.ico' # Set EXE file icon
23
])
24
25
print("Build complete. Executable is in 'dist' folder.")
logo.ico
66.1 KB
main.py
@@ -48,6 +48,11 @@ def __init__(self, root):
48
self.root.title("Steam Lua Patcher")
49
self.root.geometry("800x600")
50
51
+ try:
52
+ self.root.iconbitmap(get_resource_path("logo.ico"))
53
+ except Exception:
54
+ pass # Fail silently if icon not found
55
+
56
# UI Elements
57
self.create_widgets()
58
0 commit comments