Skip to content

Commit 3d69260

Browse files
committed
Remove staging references
1 parent 64849f6 commit 3d69260

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func main() {
195195

196196
socketHandler := wsHandler().ServeHTTP
197197

198-
extraOriginStr := "https://create.arduino.cc, http://create.arduino.cc, https://create-dev.arduino.cc, http://create-dev.arduino.cc, http://create-staging.arduino.cc, https://create-staging.arduino.cc"
198+
extraOriginStr := "https://create.arduino.cc, http://create.arduino.cc, https://create-dev.arduino.cc, http://create-dev.arduino.cc"
199199

200200
for i := 8990; i < 9001; i++ {
201201
extraOriginStr = extraOriginStr + ", http://localhost:" + strconv.Itoa(i) + ", https://localhost:" + strconv.Itoa(i)

trayicon.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@
3131
package main
3232

3333
import (
34+
"runtime"
35+
3436
log "github.com/Sirupsen/logrus"
3537
"github.com/facchinm/go-serial"
3638
"github.com/facchinm/systray"
3739
"github.com/facchinm/systray/example/icon"
3840
"github.com/skratchdot/open-golang/open"
39-
"runtime"
4041
)
4142

4243
func setupSysTray() {
@@ -63,7 +64,7 @@ func addRebootTrayElement() {
6364
func setupSysTrayReal() {
6465

6566
systray.SetIcon(icon.Data)
66-
mUrl := systray.AddMenuItem("Go to Arduino Create (staging)", "Arduino Create")
67+
mUrl := systray.AddMenuItem("Go to Arduino Create", "Arduino Create")
6768
mDebug := systray.AddMenuItem("Open debug console", "Debug console")
6869
menuVer := systray.AddMenuItem("Agent version "+version+"-"+git_revision, "")
6970
mPause := systray.AddMenuItem("Pause Plugin", "")
@@ -101,7 +102,7 @@ func setupSysTrayReal() {
101102
go func() {
102103
for {
103104
<-mUrl.ClickedCh
104-
open.Start("http://create-staging.arduino.cc")
105+
open.Start("http://create.arduino.cc")
105106
}
106107
}()
107108
}

0 commit comments

Comments
 (0)