diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7279848..1c202fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -140,8 +140,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v2.5.7 - name: v2.5.7 + tag_name: v2.5.8 + name: v2.5.8 body: | Add window icons to MacOS and Linux. draft: false diff --git a/PySN.py b/PySN.py index 337da90..3cc08d6 100644 --- a/PySN.py +++ b/PySN.py @@ -9,6 +9,7 @@ import yaml import time import sys +from tkinter import PhotoImage from pathlib import Path from fnmatch import fnmatch from configparser import ConfigParser @@ -316,7 +317,7 @@ def __init__(self): if sys.platform == 'win32': self.iconbitmap(resource_path("AphIcon.ico")) elif sys.platform in ['linux', 'darwin']: - icon = tk.PhotoImage(file=resource_path("AphIcon.png")) + icon = PhotoImage(file=resource_path("AphIcon.png")) self.after(0, lambda: self.iconphoto(True, icon)) self.entry = customtkinter.CTkEntry(master=self, placeholder_text='Enter Serial', width = 125)