diff --git a/ReCape.py b/ReCape.py index 0d889d1..b9b39c5 100644 --- a/ReCape.py +++ b/ReCape.py @@ -50,7 +50,11 @@ def __init__(self): self.grid_columnconfigure(1, weight=1) # Set the icon of the window - icon_path = os.path.join(os.path.dirname(__file__), "images", "icon_logo.ico") + if current_os == "Linux": + icon_path = os.path.join(os.path.dirname(__file__), "images", "icon_logo.xbm") + else: + icon_path = os.path.join(os.path.dirname(__file__), "images", "icon_logo.ico") + if os.path.exists(icon_path): self.iconbitmap(icon_path)