зеркало из https://github.com/nextcloud/desktop.git
Add some logging
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
Родитель
22e42ac6d3
Коммит
a5019f1f8e
|
@ -2,7 +2,6 @@ set( MIRALL_VERSION_MAJOR 3 )
|
|||
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
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
- (BOOL)updaterMayCheckForUpdates:(SUUpdater *)bundle
|
||||
{
|
||||
Q_UNUSED(bundle)
|
||||
qCDebug(OCC::lcUpdater) << "may check: YES";
|
||||
qCDebug(OCC::lcUpdater) << "Updater may check for updates: YES";
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
@ -38,14 +38,14 @@
|
|||
{
|
||||
Q_UNUSED(updater)
|
||||
Q_UNUSED(update)
|
||||
qCDebug(OCC::lcUpdater) << "";
|
||||
qCDebug(OCC::lcUpdater) << "Found a valid update.";
|
||||
}
|
||||
|
||||
// Sent when a valid update is not found.
|
||||
- (void)updaterDidNotFindUpdate:(SUUpdater *)update
|
||||
{
|
||||
Q_UNUSED(update)
|
||||
qCDebug(OCC::lcUpdater) << "";
|
||||
qCDebug(OCC::lcUpdater) << "No valid update found.";
|
||||
}
|
||||
|
||||
// Sent immediately before installing the specified update.
|
||||
|
@ -53,7 +53,7 @@
|
|||
{
|
||||
Q_UNUSED(updater)
|
||||
Q_UNUSED(update)
|
||||
qCDebug(OCC::lcUpdater) << "";
|
||||
qCDebug(OCC::lcUpdater) << "About to install update.";
|
||||
}
|
||||
|
||||
- (void) updater:(SUUpdater *)updater didAbortWithError:(NSError *)error
|
||||
|
@ -66,7 +66,7 @@
|
|||
{
|
||||
Q_UNUSED(updater)
|
||||
Q_UNUSED(appcast)
|
||||
qCDebug(OCC::lcUpdater) << "";
|
||||
qCDebug(OCC::lcUpdater) << "Finished loading appcast.";
|
||||
}
|
||||
|
||||
|
||||
|
@ -135,6 +135,7 @@ bool autoUpdaterAllowed()
|
|||
|
||||
void SparkleUpdater::checkForUpdate()
|
||||
{
|
||||
qCDebug(OCC::lcUpdater) << "Checking for updates.";
|
||||
if (autoUpdaterAllowed()) {
|
||||
[d->updater checkForUpdates: NSApp];
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче