We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23cd26e commit cac6554Copy full SHA for cac6554
systray/systray_real.go
@@ -21,6 +21,7 @@ package systray
21
22
import (
23
"os"
24
+ "runtime"
25
26
log "github.com/sirupsen/logrus"
27
@@ -65,7 +66,13 @@ func (s *Systray) start() {
65
66
s.updateMenuItem(mRmCrashes, config.LogsIsEmpty())
67
68
mGenCerts := systray.AddMenuItem("Generate and Install HTTPS certificates", "HTTPS Certs")
- s.updateMenuItem(mGenCerts, config.CertsExist())
69
+ // On linux chrome/firefox the agent works without problems on plain HTTP,
70
+ // so we disable the menuItem to generate/install the certificates
71
+ if runtime.GOOS == "linux" {
72
+ s.updateMenuItem(mGenCerts, true)
73
+ } else {
74
+ s.updateMenuItem(mGenCerts, config.CertsExist())
75
+ }
76
77
// Add pause/quit
78
mPause := systray.AddMenuItem("Pause Agent", "")
0 commit comments