diff --git a/main.py b/main.py index 15b6532..d7e1748 100644 --- a/main.py +++ b/main.py @@ -53,7 +53,6 @@ class UniversalGitAnalyzerApp: if not os.path.exists(path): return - # Windows: проигрываем wav без внешних программ if os.name == "nt": try: import winsound @@ -62,7 +61,6 @@ class UniversalGitAnalyzerApp: except Exception: return - # Linux: пробуем стандартные проигрыватели звука for player in ("paplay", "aplay"): try: subprocess.Popen([player, path], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) @@ -128,7 +126,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") @@ -143,7 +140,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")