tray: remove systray dep in non-tray builds

This commit is contained in:
Harvey Tindall
2021-08-18 17:25:16 +01:00
parent eb3489b34f
commit 756e7345cf
5 changed files with 120 additions and 23 deletions
+4
View File
@@ -18,6 +18,10 @@ func RunTray() {
systray.Run(onReady, onExit)
}
func QuitTray() {
systray.Quit()
}
func onExit() {
if RUNNING {
QUIT = true