Skip to content

Commit

Permalink
python: iconbitmap doesn't work on linux
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Schaefer <[email protected]>
  • Loading branch information
JohnAZoidberg committed Nov 24, 2024
1 parent 0115368 commit 0bfdce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/qmk_hid/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ def main():
root.title("QMK GUI")
ico = "logo_cropped_transparent_keyboard_48x48.ico"
res_path = resource_path()
root.iconbitmap(f"{res_path}/res/{ico}")
if os.name == 'nt':
root.iconbitmap(f"{res_path}/res/{ico}")

tabControl = ttk.Notebook(root)
tab1 = ttk.Frame(tabControl)
Expand Down

0 comments on commit 0bfdce2

Please sign in to comment.