Skip to content

Commit

Permalink
Use PNG for Windows icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Apr 4, 2023
1 parent 464638c commit 9b2d01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion energyplus_regressions/tk_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __init__(self):
else:
print(f"Could not set icon for Mac, expecting to find it at {self.icon_path}")
elif system() == 'Windows':
self.icon_path = Path(__file__).resolve().parent / 'icons' / 'icon.ico'
self.icon_path = Path(__file__).resolve().parent / 'icons' / 'icon.png'
img = PhotoImage(file=str(self.icon_path))
if self.icon_path.exists():
self.root.iconphoto(False, img)
Expand Down

0 comments on commit 9b2d01b

Please sign in to comment.