additional mac support - mesh

This commit is contained in:
redanthrax 2022-06-08 13:14:22 -07:00
parent 7802532732
commit 78277d341d
3 changed files with 42 additions and 3 deletions

View file

@ -125,6 +125,10 @@ func New(logger *logrus.Logger, version string) *Agent {
MeshSysExe = "/opt/tacticalmesh/meshagent"
}
if runtime.GOOS == "darwin" {
MeshSysExe = "/opt/tacticalmesh/meshagent"
}
svcConf := &service.Config{
Executable: exe,
Name: winSvcName,