Things for the changelog.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
using Katteker.Gui.Properties;
|
||||
@@ -95,8 +96,9 @@ namespace Katteker.Gui
|
||||
|
||||
private async void UpdateWindow_Load(object sender, EventArgs e)
|
||||
{
|
||||
var changelog = await ChangelogHelper.LoadChangelogAsync(Changelog, PublishPath).ConfigureAwait(false);
|
||||
Invoke(new Action(() => changelogBrowser.DocumentText = changelog));
|
||||
var changelogContent = await ChangelogHelper.LoadChangelogAsync(Changelog, PublishPath).ConfigureAwait(false);
|
||||
changelogContent = changelogContent.ChangelogAsHtml(Path.GetExtension(Changelog));
|
||||
Invoke(new Action(() => changelogBrowser.DocumentText = changelogContent));
|
||||
if (_entry == null)
|
||||
{
|
||||
Invoke(new Action(() => { WriteTitle(Resources.No_update_available); }));
|
||||
|
||||
Reference in New Issue
Block a user