mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
fix(startup) respect update checker during startup in macOS
fixes https://github.com/nextcloud/desktop/issues/8029 Signed-off-by: Rello <Rello@users.noreply.github.com>
This commit is contained in:
parent
4d111921b8
commit
0747d0053d
@ -239,8 +239,9 @@ SparkleUpdater::SparkleUpdater(const QUrl& appCastUrl)
|
||||
, _interface(std::make_unique<SparkleInterface>(this))
|
||||
{
|
||||
_interface->delegate = [[NCSparkleUpdaterDelegate alloc] initWithOwner:_interface.get()];
|
||||
const BOOL startUpdater = autoUpdaterAllowed() ? YES : NO;
|
||||
_interface->updaterController =
|
||||
[[SPUStandardUpdaterController alloc] initWithStartingUpdater:YES
|
||||
[[SPUStandardUpdaterController alloc] initWithStartingUpdater:startUpdater
|
||||
updaterDelegate:_interface->delegate
|
||||
userDriverDelegate:nil];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user