Skip to content

Commit

Permalink
Include OS and arch in version json
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 29, 2023
1 parent 1ef6561 commit ff77fa8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,9 @@ type VersionJSONOutput struct {
FormattedVersion string
BuildTime string

OS string
Arch string

Mautrix struct {
Version string
Commit string
Expand Down Expand Up @@ -764,6 +767,9 @@ func (br *Bridge) Main() {
Commit: br.commit,
FormattedVersion: br.Version,
BuildTime: br.BuildTime,

OS: runtime.GOOS,
Arch: runtime.GOARCH,
}
output.Mautrix.Commit = mautrix.Commit
output.Mautrix.Version = mautrix.Version
Expand Down

0 comments on commit ff77fa8

Please sign in to comment.