mirror of
https://gitee.com/energye/energy.git
synced 2024-11-30 10:47:57 +08:00
v2.5.1 sys tray Show init
This commit is contained in:
parent
40fc693934
commit
49aa763646
@ -11,7 +11,6 @@ package cef
|
||||
import (
|
||||
"github.com/energye/energy/common"
|
||||
"github.com/energye/energy/consts"
|
||||
"github.com/energye/energy/logger"
|
||||
"github.com/energye/energy/pkgs/notice"
|
||||
"github.com/energye/energy/pkgs/systray"
|
||||
"github.com/energye/golcl/energy/emfs"
|
||||
@ -97,7 +96,6 @@ func (m *SysTray) Show() {
|
||||
defer m.lock.Unlock()
|
||||
if m.start == nil {
|
||||
var runLoop = func() {
|
||||
logger.Info("sys tray ready")
|
||||
m.start, m.stop = systray.RunWithExternalLoop(m.onReady, m.onExit)
|
||||
m.start()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user