Skip to content

Commit

Permalink
Bump version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismy-github committed Nov 12, 2023
1 parent ac7efd7 commit 5168f70
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions irs.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ remove = os.remove
# Base constants
# ---------------------
TITLE = 'Instant Replay Suite'
VERSION = '1.2.0'
VERSION = '1.3.0'
REPOSITORY_URL = 'https://github.com/thisismy-github/instant-replay-suite'

# ---
Expand Down Expand Up @@ -1190,6 +1190,7 @@ class Icon(pystray._win32.Icon):
self.is_open = False


# https://stackoverflow.com/a/68845977
def close(self):
''' Uses the `WM_CANCELMODE` signal to manually close the menu. '''
try: win32.PostMessage(self._menu_hwnd, WM_CANCELMODE, 0, 0)
Expand Down Expand Up @@ -1264,7 +1265,7 @@ class Icon(pystray._win32.Icon):
self._icon_handle = handle
return

# if it wasn't valid, take the .exe's icon (if we're compiled) -> https://stackoverflow.com/a/110777
# if it wasn't valid, take the .exe's icon (if we're compiled)
except:
if IS_COMPILED:
try:
Expand All @@ -1276,7 +1277,7 @@ class Icon(pystray._win32.Icon):

resource = win32api.LoadResource(None, RT_ICON, icon_index)
handle = win32gui.CreateIconFromResource(resource, True)
if handle is None:
if handle is None: # ^ https://stackoverflow.com/a/110777
raise

self._icon_handle = handle
Expand Down

0 comments on commit 5168f70

Please sign in to comment.