Additional Build Stuff

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Andy Dixon
2026-04-28 10:30:28 +01:00
co-authored by Copilot
parent 190bf59085
commit d0bfb894f0
11 changed files with 588 additions and 255 deletions
+4 -1
View File
@@ -1306,7 +1306,10 @@ func (s *Service) CheckForUpdates() (map[string]interface{}, error) {
var err error
if appUpdateURL != "" {
checker := updater.NewURLChecker(appUpdateURL, appVersion)
url := strings.ReplaceAll(appUpdateURL, "{platform}", runtime.GOOS)
url = strings.ReplaceAll(url, "{os}", runtime.GOOS)
url = strings.ReplaceAll(url, "{arch}", runtime.GOARCH)
checker := updater.NewURLChecker(url, appVersion)
info, err = checker.Check(ctx)
} else {
checker := updater.NewChecker(appVersion)