We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caffd81 commit d9c50f7Copy full SHA for d9c50f7
systray/systray.go
@@ -8,6 +8,7 @@ import (
8
"github.com/kardianos/osext"
9
)
10
11
+// Systray manages the systray icon with its menu and actions. It also handles the pause/resume behaviour of the agent
12
type Systray struct {
13
// Whether the Agent is in Pause mode
14
Hibernate bool
systray/systray_fake.go
@@ -1,5 +1,6 @@
1
// +build cli
2
3
+// Systray_fake gets compiled when the tag 'cli' is present. This is useful to build an agent without trayicon functionalities
4
package systray
5
6
import "os"
systray/systray_real.go
// +build !cli
+// Systray_real gets compiled when the tag 'cli' is missing. This is the default case
import (
0 commit comments