Skip to content

Commit

Permalink
Update main.go to use tray not support
Browse files Browse the repository at this point in the history
  • Loading branch information
conlan0 authored Aug 5, 2024
1 parent bab9189 commit 7cbb297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"path/filepath"
"runtime"

"github.com/amidaware/rmmagent/agent/support"
"github.com/amidaware/rmmagent/agent/tray"
"github.com/amidaware/rmmagent/agent"
"github.com/kardianos/service"
"github.com/sirupsen/logrus"
Expand Down Expand Up @@ -106,7 +106,7 @@ func main() {
fmt.Println(a.AgentPK)
case "tray":
if runtime.GOOS == "windows" {
support.InitTrayIcon()
tray.InitTrayIcon()
}
case "winagentsvc":
fmt.Println("deprecated. use 'svc'")
Expand Down

0 comments on commit 7cbb297

Please sign in to comment.