From 2b8b0e5c6d955007a61c98f1d75a8e06bf2e5603 Mon Sep 17 00:00:00 2001 From: Alexander Raab Date: Sun, 27 Jun 2021 11:02:33 +0200 Subject: [PATCH] Provide name of product in changelog (#945) * Provide name of product in changelog fixes #944 * Change of headline-string --- QuickLook/Helpers/Updater.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QuickLook/Helpers/Updater.cs b/QuickLook/Helpers/Updater.cs index f0b76cb45..ea0878182 100644 --- a/QuickLook/Helpers/Updater.cs +++ b/QuickLook/Helpers/Updater.cs @@ -89,12 +89,12 @@ private static void CollectAndShowReleaseNotes() { var json = DownloadJson("https://api.github.com/repos/xupefei/QuickLook/releases"); - var notes = string.Empty; + var notes = "# QuickLook has been updated!\r\n"; var count = 0; foreach (var item in json) { - notes += $"# {item["name"]}\r\n\r\n"; + notes += $"## {item["name"]}\r\n\r\n"; notes += item["body"] + "\r\n\r\n"; if (count++ > 10) @@ -133,4 +133,4 @@ private static dynamic DownloadJson(string url) return json; } } -} \ No newline at end of file +}