change: enable automatic update checking by default

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-03-26 09:29:02 +05:00
parent c16a25faef
commit b3fa99dd2f
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -61,7 +61,7 @@ PrismExternalUpdater::PrismExternalUpdater(QWidget* parent, const QString& appDi
auto settings_file = priv->dataDir.absoluteFilePath("prismlauncher_update.cfg");
priv->settings = std::make_unique<QSettings>(settings_file, QSettings::Format::IniFormat);
priv->allowBeta = priv->settings->value("allow_beta", false).toBool();
priv->autoCheck = priv->settings->value("auto_check", false).toBool();
priv->autoCheck = priv->settings->value("auto_check", true).toBool();
bool interval_ok = false;
// default once per day
priv->updateInterval = priv->settings->value("update_interval", 86400).toInt(&interval_ok);