More fixes to support transistions to new updater

This commit is contained in:
Kenneth Skovhede
2024-04-06 10:27:33 +02:00
parent 149703d0c8
commit 847be2d00a
@@ -296,6 +296,13 @@ namespace Duplicati.Library.AutoUpdater
if (rt > channel)
return null;
// In case the manifest does not contain a URL, use the one from this assembly
if (string.IsNullOrWhiteSpace(update.GenericUpdatePageUrl))
update.GenericUpdatePageUrl = SelfVersion.GenericUpdatePageUrl;
// In case there is no url, fall back to the project download page
if (string.IsNullOrWhiteSpace(update.GenericUpdatePageUrl))
update.GenericUpdatePageUrl = "https://duplicati.com/download";
LastUpdateCheckVersion = update;
return update;
}