set( MIRALL_VERSION_MINOR 4 )
set( MIRALL_VERSION_PATCH 83 )
set( MIRALL_VERSION_YEAR 2022 )
+
set( MIRALL_SOVERSION 0 )
# Minimum supported server version according to https://docs.nextcloud.com/server/latest/admin_manual/release_schedule.html
else if (auto sparkleUpdater = qobject_cast<SparkleUpdater *>(Updater::instance())) {
_ui->updateStateLabel->setText(sparkleUpdater->statusString());
_ui->restartButton->setVisible(false);
+ connect(_ui->updateButton, &QAbstractButton::clicked, this, &GeneralSettings::slotUpdateCheckNow, Qt::UniqueConnection);
}
#endif
void GeneralSettings::slotUpdateCheckNow()
{
+#if defined(Q_OS_MAC) && defined(HAVE_SPARKLE)
+ auto *updater = qobject_cast<SparkleUpdater *>(Updater::instance());
+#else
auto *updater = qobject_cast<OCUpdater *>(Updater::instance());
+#endif
if (ConfigFile().skipUpdateCheck()) {
updater = nullptr; // don't show update info if updates are disabled
}