expose more config file settings in the UI

This commit is contained in:
Drew Weymouth
2025-02-21 16:31:04 -08:00
parent 90f85d26a6
commit 95ef3eae38
4 changed files with 104 additions and 54 deletions
+4 -2
View File
@@ -127,8 +127,10 @@ func StartupApp(appName, displayAppName, appVersion, appVersionTag, latestReleas
log.Printf("Using config dir: %s", confDir)
log.Printf("Using cache dir: %s", cacheDir)
a.UpdateChecker = NewUpdateChecker(appVersionTag, latestReleaseURL, &a.Config.Application.LastCheckedVersion)
a.UpdateChecker.Start(a.bgrndCtx, 24*time.Hour)
if a.Config.Application.EnableAutoUpdateChecker {
a.UpdateChecker = NewUpdateChecker(appVersionTag, latestReleaseURL, &a.Config.Application.LastCheckedVersion)
a.UpdateChecker.Start(a.bgrndCtx, 24*time.Hour)
}
if err := a.initMPV(); err != nil {
return nil, err