Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from ReCape/main
Browse files Browse the repository at this point in the history
Fixed Linux support
  • Loading branch information
DedFishy authored Jul 24, 2023
2 parents 3ecf841 + b03b540 commit 1368963
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ReCape.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1368963

Please sign in to comment.