Merge pull request #244 from hir-lol/main

This commit is contained in:
hir-lol 2026-03-18 01:40:09 +03:00 committed by GitHub
parent 46011c0ff5
commit 473078593a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -314,6 +314,8 @@ def _edit_config_dialog():
root.title("TG WS Proxy — Настройки") root.title("TG WS Proxy — Настройки")
root.resizable(False, False) root.resizable(False, False)
root.attributes("-topmost", True) root.attributes("-topmost", True)
icon_path = str(Path(__file__).parent / "icon.ico")
root.iconbitmap(icon_path)
TG_BLUE = "#3390ec" TG_BLUE = "#3390ec"
TG_BLUE_HOVER = "#2b7cd4" TG_BLUE_HOVER = "#2b7cd4"
@ -502,6 +504,8 @@ def _show_first_run():
root.title("TG WS Proxy") root.title("TG WS Proxy")
root.resizable(False, False) root.resizable(False, False)
root.attributes("-topmost", True) root.attributes("-topmost", True)
icon_path = str(Path(__file__).parent / "icon.ico")
root.iconbitmap(icon_path)
w, h = 520, 440 w, h = 520, 440
sw = root.winfo_screenwidth() sw = root.winfo_screenwidth()