Add OS to app version

This commit is contained in:
Pavel Škoda
2020-10-30 10:53:46 +01:00
committed by Michal Horejsek
parent f888176485
commit 9d50a8cef2
3 changed files with 17 additions and 2 deletions

View File

@ -29,7 +29,7 @@ import (
func (c *Config) GetAPIConfig() *pmapi.ClientConfig {
return &pmapi.ClientConfig{
AppVersion: strings.Title(c.appName) + "_" + c.version,
AppVersion: c.getAPIOS() + strings.Title(c.appName) + "_" + c.version,
ClientID: c.appName,
}
}