Rename system tray to menu bar on MacOS

This commit is contained in:
JonnyWong16 2020-06-14 14:59:37 -07:00
commit 451feda86b
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 10 additions and 7 deletions

View file

@ -64,11 +64,11 @@ class MacOSSystemTray(object):
self.tray_icon = rumps.App(common.PRODUCT, icon=self.icon, menu=self.menu, quit_button=None)
def start(self):
logger.info("Launching MacOS system tray icon.")
logger.info("Launching MacOS menu bar icon.")
try:
self.tray_icon.run()
except Exception as e:
logger.error("Unable to launch system tray icon: %s." % e)
logger.error("Unable to launch menu bar icon: %s." % e)
def shutdown(self):
rumps.quit_application()