Following this post, I've implemented to minimize the window of a app to system tray.
However, i don't figured out how to restore the window by clicking in the system's tray icon. Only opening the menu and choosing 'show' optin this is possible. Clicking at the icon, a TypeError raises:
File "C:\<path>\pystray\_base.py", line 106, in __call__
self._menu(self)
TypeError: 'tuple' object is not callable
Any hint for me? Thanks