Rename system tray to menu bar on MacOS

This commit is contained in:
JonnyWong16
2020-06-14 14:59:37 -07:00
parent 4d241fac48
commit 451feda86b
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()