Tactical RMM Agent
Find a file
2022-06-27 11:14:58 -07:00
.github/workflows ensure agent compiles for mac and freebsd too 2022-06-22 20:33:28 +00:00
.vscode Revert "Refactor debug" 2022-06-16 22:14:44 -07:00
agent Merge remote-tracking branch 'upstream/develop' into BigRefactor 2022-06-27 11:14:58 -07:00
build update dev version 2022-06-20 15:22:28 -07:00
shared support for nats websocket amidaware/tacticalrmm@42e1717455 2022-06-26 15:34:00 -07:00
.gitignore Revert "Refactor debug" 2022-06-16 22:14:44 -07:00
go.mod big refactor and testing 2022-06-20 16:51:00 -07:00
go.sum big refactor and testing 2022-06-20 16:51:00 -07:00
LICENSE.md v2.0.0 2022-03-19 11:55:43 -07:00
main.go Merge remote-tracking branch 'upstream/develop' into BigRefactor 2022-06-27 11:14:58 -07:00
README.md Merge remote-tracking branch 'upstream/develop' into BigRefactor 2022-06-24 11:22:50 -07:00
versioninfo.json Release 2.0.4 2022-05-14 21:45:32 -07:00

Tactical RMM Agent

https://github.com/amidaware/tacticalrmm

building the agent - linux

env CGO_ENABLED=0 GOOS=<GOOS> GOARCH=<GOARCH> go build -ldflags "-s -w -X 'main.version=v2.0.4'"
example: env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -X 'main.version=v2.0.4'" -o build/output/rmmagent

building the agent - macos

env GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w -X 'main.version=v2.0.4'" -o build/output/rmmagent

building the agent - windows

go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo
go generate
$env:CGO_ENABLED="0";$env:GOOS="windows";$env:GOARCH="amd64"; go build -ldflags "-s -w -X 'main.version=v2.0.4'" -o build/output/tacticalrmm.exe

tests

Navigate to repo directory

go test ./... -vet=off

Add to settings.json

"gopls": {
    "build.buildFlags": [
      "-tags=DEBUG"
    ]
  },
  "go.testFlags": [
    "-vet=off"
  ],
  "go.testTags": "TEST",