Skip to content

Remove staging references #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove staging references
  • Loading branch information
matteosuppo committed Apr 18, 2016
commit 3d692608981ee3e87a9facdbb040a7f33320e17c
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func main() {

socketHandler := wsHandler().ServeHTTP

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"
extraOriginStr := "https://create.arduino.cc, http://create.arduino.cc, https://create-dev.arduino.cc, http://create-dev.arduino.cc"

for i := 8990; i < 9001; i++ {
extraOriginStr = extraOriginStr + ", http://localhost:" + strconv.Itoa(i) + ", https://localhost:" + strconv.Itoa(i)
Expand Down
7 changes: 4 additions & 3 deletions trayicon.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
package main

import (
"runtime"

log "github.com/Sirupsen/logrus"
"github.com/facchinm/go-serial"
"github.com/facchinm/systray"
"github.com/facchinm/systray/example/icon"
"github.com/skratchdot/open-golang/open"
"runtime"
)

func setupSysTray() {
Expand All @@ -63,7 +64,7 @@ func addRebootTrayElement() {
func setupSysTrayReal() {

systray.SetIcon(icon.Data)
mUrl := systray.AddMenuItem("Go to Arduino Create (staging)", "Arduino Create")
mUrl := systray.AddMenuItem("Go to Arduino Create", "Arduino Create")
mDebug := systray.AddMenuItem("Open debug console", "Debug console")
menuVer := systray.AddMenuItem("Agent version "+version+"-"+git_revision, "")
mPause := systray.AddMenuItem("Pause Plugin", "")
Expand Down Expand Up @@ -101,7 +102,7 @@ func setupSysTrayReal() {
go func() {
for {
<-mUrl.ClickedCh
open.Start("http://create-staging.arduino.cc")
open.Start("http://create.arduino.cc")
}
}()
}
Expand Down