Skip to content

Commit 1ae8cbc

Browse files
author
Roberto Sora
committed
reverted to facchinm fork for golantern/systray
1 parent 250d0e4 commit 1ae8cbc

38 files changed

+6648
-954
lines changed

Gopkg.lock

+42-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
version = "3.5.1"
3535

3636
[[constraint]]
37-
revision = "89b3d9c45cc69f861868cc7f3159eba2b4cdfb22"
38-
name = "github.com/getlantern/systray"
37+
branch = "master"
38+
name = "github.com/facchinm/systray"
3939

4040
[[constraint]]
4141
name = "github.com/gin-gonic/gin"

trayicon.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737

3838
log "github.com/Sirupsen/logrus"
3939
"github.com/arduino/arduino-create-agent/icon"
40-
"github.com/getlantern/systray"
40+
"github.com/facchinm/systray"
4141
"github.com/go-ini/ini"
4242
"github.com/kardianos/osext"
4343
"github.com/skratchdot/open-golang/open"
@@ -47,9 +47,9 @@ import (
4747
func setupSysTray() {
4848
runtime.LockOSThread()
4949
if *hibernate == true {
50-
systray.Run(setupSysTrayHibernate,nil)
50+
systray.Run(setupSysTrayHibernate)
5151
} else {
52-
systray.Run(setupSysTrayReal,nil)
52+
systray.Run(setupSysTrayReal)
5353
}
5454
}
5555

@@ -144,7 +144,7 @@ func setupSysTrayReal() {
144144
}
145145
systray.Quit()
146146
*hibernate = true
147-
log.Println("Restart becayse setup went wrong?")
147+
log.Println("Restart because setup went wrong?")
148148
restart("")
149149
}()
150150

@@ -180,7 +180,7 @@ func setupSysTrayHibernate() {
180180
go func() {
181181
<-mOpen.ClickedCh
182182
*hibernate = false
183-
log.Println("Restart for hubernation")
183+
log.Println("Restart for hibernation")
184184
systray.Quit()
185185
restart("")
186186
}()

vendor/github.com/davecgh/go-spew/LICENSE

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/davecgh/go-spew/spew/bypass.go

+145
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/davecgh/go-spew/spew/bypasssafe.go

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)