Skip to content

Commit c34d862

Browse files
Fix GUI icon
1 parent fa0431a commit c34d862

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

olmConvertGUI.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313
# Window setup
1414
root = tk.Tk()
15+
try:
16+
os.chdir(sys._MEIPASS)
17+
except AttributeError:
18+
pass
19+
root.wm_iconphoto(False, tk.PhotoImage(file = 'olmConvert.png'))
1520
root.title("OLM Convert")
1621
root.resizable(False, False)
1722
frame = ttk.Frame(root, padding=10)

0 commit comments

Comments
 (0)