From e656c2008465c63dd0fb4c2ea073c0804594ef38 Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Fri, 26 Jul 2024 20:06:27 +0100 Subject: [PATCH] Flow methods should not be virtual --- src/Velopack/Sources/VelopackFlowUpdateSource.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Velopack/Sources/VelopackFlowUpdateSource.cs b/src/Velopack/Sources/VelopackFlowUpdateSource.cs index 76f43b02..64605ee8 100644 --- a/src/Velopack/Sources/VelopackFlowUpdateSource.cs +++ b/src/Velopack/Sources/VelopackFlowUpdateSource.cs @@ -29,7 +29,7 @@ namespace Velopack.Sources public IFileDownloader Downloader { get; } /// - public async virtual Task GetReleaseFeed(ILogger logger, string channel, Guid? stagingId = null, + public async Task GetReleaseFeed(ILogger logger, string channel, Guid? stagingId = null, VelopackAsset? latestLocalRelease = null) { Uri baseUri = new(BaseUri, $"v1.0/manifest/"); @@ -65,7 +65,7 @@ namespace Velopack.Sources } /// - public async virtual Task DownloadReleaseEntry(ILogger logger, VelopackAsset releaseEntry, string localFile, Action progress, CancellationToken cancelToken = default) + public async Task DownloadReleaseEntry(ILogger logger, VelopackAsset releaseEntry, string localFile, Action progress, CancellationToken cancelToken = default) { if (releaseEntry is null) throw new ArgumentNullException(nameof(releaseEntry)); if (releaseEntry is not VelopackFlowReleaseAsset velopackRelease) {