zmzhang8 / Photon

A lightweight multi-threaded downloader based on aria2.
Apache License 2.0
2.99k stars 274 forks source link

Notification related feature request #3

Open ghost opened 6 years ago

ghost commented 6 years ago

Please also add a tray icon whenever the app is closed so that one doesn't have to start it again.

zmzhang8 commented 6 years ago

@gmastergreatee Thanks for your advice.

ghost commented 6 years ago

Well, I think, for creating the tray icon, the details in the below link should suffice. http://electron.rocks/proper-tray-icon/

As for the case while closing the app window, one could detect the event(as shown in one of the comment-replies of above link), prevent it, add a menu-item in the tray icon(to show the window when clicked) & then just hide the window.

zmzhang8 commented 6 years ago

@gmastergreatee You are right. I will implement this when I get my windows computer.