hiddify / hiddify-next

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
16.68k stars 1.52k forks source link

[FR] Disable tray icon feature #1369

Open QuestYouCraft opened 3 weeks ago

QuestYouCraft commented 3 weeks ago

Feature description

Many applications (particularly on Windows) that are minimized to the tray often have an option to disable it. Unfortunately, I did not find such an option here. It would be nice to add a "Show tray icon" toggle to the Hiddify settings, which would be enabled by default when first configured, but could be disabled. This way, Hiddify would not be minimized when the tray icon is disabled, but would simply close completely and immediately, as would happen by pressing the exit button on the tray icon if it were enabled. A good example of implementing this is, for example, Telegram Desktop. In general, I think that this should be added as a switch, including in the same way as switches such as "Start at login" and "Start minimized" were implemented. I think that is a good and simple idea (for realization).

titancomputer commented 2 weeks ago

PR welcomed