Fetch macOS VFS package in autoupdater if the client is using the file provider module

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-04-23 22:58:55 +08:00 committed by Camila Ayres
parent 591d5eebd2
commit 1c84b832fe

View file

@ -60,8 +60,10 @@ QUrl Updater::updateUrl()
if (SparkleUpdater::autoUpdaterAllowed()) {
urlQuery.addQueryItem(QLatin1String("sparkle"), QLatin1String("true"));
}
#ifdef BUILD_FILE_PROVIDER_MODULE
urlQuery.addQueryItem(QLatin1String("fileprovider"), QLatin1String("true"));
#endif
#endif
#if defined(Q_OS_WIN)
urlQuery.addQueryItem(QLatin1String("msi"), QLatin1String("true"));
#endif