From c4b22398e4327f06078e69133133ea8e9aede879 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 23 Apr 2024 22:58:55 +0800 Subject: [PATCH] Fetch macOS VFS package in autoupdater if the client is using the file provider module Signed-off-by: Claudio Cambra --- src/gui/updater/updater.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/updater/updater.cpp b/src/gui/updater/updater.cpp index 46393fcfb9cac..4365ae5837ab4 100644 --- a/src/gui/updater/updater.cpp +++ b/src/gui/updater/updater.cpp @@ -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