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
+1 -2
View File
@@ -11,7 +11,6 @@ import (
"strings"
"time"
"github.com/getlantern/systray"
"github.com/pkg/browser"
)
@@ -77,7 +76,7 @@ func Exit(err interface{}) {
}
browser.OpenFile(fpath + ".html")
if TRAY {
systray.Quit()
QuitTray()
} else {
os.Exit(1)
}