mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Refactor Windows system tray code
This commit is contained in:
parent
53cd759422
commit
f8f0717913
2 changed files with 62 additions and 48 deletions
|
@ -244,9 +244,9 @@ def main():
|
|||
|
||||
# Windows system tray icon
|
||||
if common.PLATFORM == 'Windows':
|
||||
windows.set_startup()
|
||||
if plexpy.CONFIG.WIN_SYS_TRAY:
|
||||
windows.win_system_tray()
|
||||
plexpy.WIN_SYS_TRAY_ICON = windows.WindowsSystemTray()
|
||||
windows.set_startup()
|
||||
elif common.PLATFORM == 'Darwin':
|
||||
macos.set_startup()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue