From 051c8bbf5560ec252ee660344d78ef8fae9c387d Mon Sep 17 00:00:00 2001 From: 24_OskinEA <24_OskinEA@iux.local> Date: Tue, 26 May 2026 08:41:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20main.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.py b/main.py index 6f812ec..bd35ee0 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,6 @@ class UniversalGitAnalyzerApp: if not os.path.exists(path): return - # Windows: проигрываем wav без внешних программ if os.name == "nt": try: import winsound @@ -59,7 +58,6 @@ class UniversalGitAnalyzerApp: except Exception: return - # Linux: пробуем стандартные проигрыватели звука for player in ("paplay", "aplay"): try: subprocess.Popen([player, path], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) @@ -125,7 +123,6 @@ class UniversalGitAnalyzerApp: c.delete("all") c.create_line(70, 58, 545, 58, fill="#2a3e63", width=6, capstyle="round") c.create_line(70, 58, 545, 58, fill="#4e8cff", width=2, capstyle="round") - # Чашка Gitea справа c.create_oval(545, 30, 595, 80, fill="#24551f", outline="#7dd36f", width=2) c.create_arc(585, 42, 620, 70, start=-70, extent=140, outline="#7dd36f", width=4, style="arc") c.create_rectangle(559, 45, 582, 69, fill="#24551f", outline="#24551f") @@ -140,7 +137,6 @@ class UniversalGitAnalyzerApp: steps = 90 x = 70 + int((455 * self.loading_step) / steps) y = 58 - # Чёрный кот, который бежит к чаю c.create_oval(x - 18, y - 22, x + 18, y + 14, fill="#02050a", outline="white", width=2, tags="cat") c.create_polygon(x - 16, y - 16, x - 7, y - 34, x + 0, y - 16, fill="#02050a", outline="white", width=2, tags="cat") c.create_polygon(x + 4, y - 16, x + 13, y - 34, x + 20, y - 16, fill="#02050a", outline="white", width=2, tags="cat")