Skip to content

Commit 34b8fc8

Browse files
committed
add app logo
1 parent 2f8deb7 commit 34b8fc8

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
'--clean',
1919
'--collect-all=ttkbootstrap', # Important for themes
2020
'--add-data=All Games Files;All Games Files', # Format: "source;dest" (Windows)
21-
'--icon=NONE' # You could add an icon here if available
21+
'--add-data=logo.ico;.', # Bundle icon for runtime use
22+
'--icon=logo.ico' # Set EXE file icon
2223
])
2324

2425
print("Build complete. Executable is in 'dist' folder.")

logo.ico

66.1 KB
Binary file not shown.

main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ def __init__(self, root):
4848
self.root.title("Steam Lua Patcher")
4949
self.root.geometry("800x600")
5050

51+
try:
52+
self.root.iconbitmap(get_resource_path("logo.ico"))
53+
except Exception:
54+
pass # Fail silently if icon not found
55+
5156
# UI Elements
5257
self.create_widgets()
5358

0 commit comments

Comments
 (0)