mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Shutdown MacOS system tray icon
This commit is contained in:
parent
eb6cb60ee3
commit
fafe28a6d6
1 changed files with 2 additions and 0 deletions
|
@ -2188,6 +2188,8 @@ def shutdown(restart=False, update=False, checkout=False, reset=False):
|
||||||
|
|
||||||
if WIN_SYS_TRAY_ICON:
|
if WIN_SYS_TRAY_ICON:
|
||||||
WIN_SYS_TRAY_ICON.shutdown()
|
WIN_SYS_TRAY_ICON.shutdown()
|
||||||
|
elif MAC_SYS_TRAY_ICON:
|
||||||
|
MAC_SYS_TRAY_ICON.shutdown()
|
||||||
|
|
||||||
if restart:
|
if restart:
|
||||||
logger.info("Tautulli is restarting...")
|
logger.info("Tautulli is restarting...")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue