Fix #495: use custom user-agent instead of go-http-client

This commit is contained in:
Drew Weymouth
2024-10-17 08:36:00 -07:00
parent 3fd3c402e9
commit 58ebd3ccf4
5 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func main() {
}
// rest of flag actions are handled in backend.StartupApp
myApp, err := backend.StartupApp(res.AppName, res.DisplayName, res.AppVersionTag, res.LatestReleaseURL)
myApp, err := backend.StartupApp(res.AppName, res.DisplayName, res.AppVersion, res.AppVersionTag, res.LatestReleaseURL)
if err != nil {
if err != backend.ErrAnotherInstance {
log.Fatalf("fatal startup error: %v", err.Error())