mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
Made updater interval configurable
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -257,7 +257,7 @@ void PrismExternalUpdater::setBetaAllowed(bool allowed)
|
||||
|
||||
void PrismExternalUpdater::resetAutoCheckTimer()
|
||||
{
|
||||
if (priv->autoCheck) {
|
||||
if (priv->autoCheck && priv->updateInterval > 0) {
|
||||
int timeoutDuration = 0;
|
||||
auto now = QDateTime::currentDateTime();
|
||||
if (priv->lastCheck.isValid()) {
|
||||
|
Reference in New Issue
Block a user