From b1bc63962070fd22760c0a09168f1f8e4fa5e73f Mon Sep 17 00:00:00 2001 From: Michael Babienco Date: Sun, 22 Sep 2024 11:15:38 +0900 Subject: [PATCH] Make singleFileToAddToAppCast optional --- src/NetSparkle.Tools.AppCastGenerator/AppCastMaker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetSparkle.Tools.AppCastGenerator/AppCastMaker.cs b/src/NetSparkle.Tools.AppCastGenerator/AppCastMaker.cs index fb631019..55aca280 100644 --- a/src/NetSparkle.Tools.AppCastGenerator/AppCastMaker.cs +++ b/src/NetSparkle.Tools.AppCastGenerator/AppCastMaker.cs @@ -442,7 +442,7 @@ public string GetPathToAppCastOutput(string desiredOutputDirectory, string sourc /// /// /// items, product name - public (List?, string?) LoadAppCastItemsAndProductName(string sourceBinaryDirectory, bool useExistingAppCastItems, string outputAppCastFileName, string singleFileToAddToAppCast) + public (List?, string?) LoadAppCastItemsAndProductName(string sourceBinaryDirectory, bool useExistingAppCastItems, string outputAppCastFileName, string? singleFileToAddToAppCast = null) { var items = new List(); var dirFileSearches = GetSearchExtensionsFromString(_opts.Extensions ?? "");