DanielBorgesOliveira / onedrive_tray

OneDrive system tray program
GNU General Public License v3.0
113 stars 21 forks source link

Silent fail option when no system tray is available #7

Closed adrianinsaval closed 4 years ago

adrianinsaval commented 4 years ago

To avoid showing the error message at startup I mentioned in #6

jugendhacker commented 4 years ago

This is a fairly hacky solution... wouldn't it be better if we could find the real problem why it won't detect the tray and try to fix it this way?

adrianinsaval commented 4 years ago

Indeed. The problem in my case seems to be that the system tray is not up yet when the service is started. I don't know how to force it to start afterwards. This is what I came up with. Better solutions are more than welcome.

DanielBorgesOliveira commented 4 years ago

Hi guys,

I will merge the @adrianinsaval PR and if more advance in this topic occurs let me know. I will try to make some tests with the last version too and if I discover something I will update the code.