ventura mesh fix

This commit is contained in:
wh1te909 2023-07-31 19:11:02 -07:00
parent e51e4ccf83
commit 8e6858778b
5 changed files with 137 additions and 0 deletions

View file

@ -80,6 +80,10 @@ func (a *Agent) AgentSvc(nc *nats.Conn) {
a.SendSoftware()
}
if runtime.GOOS == "darwin" {
go a.FixVenturaMesh()
}
checkInHelloTicker := time.NewTicker(time.Duration(conf.Hello) * time.Second)
checkInAgentInfoTicker := time.NewTicker(time.Duration(conf.AgentInfo) * time.Second)
checkInWinSvcTicker := time.NewTicker(time.Duration(conf.WinSvc) * time.Second)