tray: fix crashlogs, restart from web

This commit is contained in:
Harvey Tindall
2021-08-16 20:41:07 +01:00
parent 9693ce3dcd
commit eb3489b34f
6 changed files with 26 additions and 93 deletions

View File

@@ -10,7 +10,6 @@ import (
"github.com/getlantern/systray"
"github.com/skratchdot/open-golang/open"
// "github.com/getlantern/systray"
)
var TRAY = true
@@ -48,6 +47,7 @@ func onReady() {
systray.Quit()
os.Exit(1)
}()
defer func() {
systray.Quit()
}()