Skip to content

Commit

Permalink
New app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sam210723 committed Feb 18, 2024
1 parent 41819bc commit 1d7b125
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Binary file modified wavebin/interface/assets/icon-multi.ico
Binary file not shown.
Binary file modified wavebin/interface/assets/icon.ico
Binary file not shown.
Binary file added wavebin/interface/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions wavebin/interface/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def __init__(self, config: dict, safe_exit: Callable, open_waveform: Callable) -
# Window styling and state
self.log("Updating window style")
self.icon_path = Path(__file__).parent / "assets" / "icon.ico"
self.icon = QIcon(str(self.icon_path))
self.icon_path_multi = Path(__file__).parent / "assets" / "icon-multi.ico"
self.icon = QIcon(str(self.icon_path_multi))
self.setWindowIcon(self.icon)
self.window.resize(self.config['width'], self.config['height'])
self.window.setMinimumSize(800, 500)
Expand Down Expand Up @@ -162,7 +163,7 @@ def welcome(self) -> None:
<div id='container'>
""" +
f" <img src='{self.icon_path}'><span> wavebin</span>" +
f" <img src='{self.icon_path}'><span>&nbsp;&nbsp;wavebin</span>" +
"""
<p>
Get started by opening a waveform file or capturing a new waveform
Expand Down
2 changes: 1 addition & 1 deletion wavebin/wavebin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ exe = EXE(
app = BUNDLE(
exe,
name='wavebin.app',
icon='interface/assets/icon.ico',
icon='interface/assets/icon-multi.ico',
bundle_identifier=None
)

0 comments on commit 1d7b125

Please sign in to comment.