icon in first window

This commit is contained in:
hir_lol 2026-03-17 23:54:55 +03:00
parent 76ca43703b
commit 500a76d5f4
1 changed files with 2 additions and 0 deletions

View File

@ -504,6 +504,8 @@ def _show_first_run():
root.title("TG WS Proxy")
root.resizable(False, False)
root.attributes("-topmost", True)
icon_path = str(Path(__file__).parent / "icon.ico")
root.iconbitmap(icon_path)
w, h = 520, 440
sw = root.winfo_screenwidth()