From 4e7d8f2359cf7aff1b6dd61bb045eb4bed5ae4cc Mon Sep 17 00:00:00 2001 From: Helloworld <1326521+LYZhelloworld@users.noreply.github.com> Date: Sun, 31 Jul 2022 15:34:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MeoAsstGui/ViewModels/VersionUpdateViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MeoAsstGui/ViewModels/VersionUpdateViewModel.cs b/src/MeoAsstGui/ViewModels/VersionUpdateViewModel.cs index 0c5674f69c..53289817fd 100644 --- a/src/MeoAsstGui/ViewModels/VersionUpdateViewModel.cs +++ b/src/MeoAsstGui/ViewModels/VersionUpdateViewModel.cs @@ -43,10 +43,12 @@ namespace MeoAsstGui private static string AddContributorLink(string text) { + /* // "@ " -> "@ " // "`@`" -> "`@`" // "@MistEO" -> "[@MistEO](https://github.com/MistEO)" // "[@MistEO]" -> "[@MistEO]" + */ return Regex.Replace(text, @"([^\[`]|^)@([^\s]+)", "$1[@$2](https://github.com/$2)"); } @@ -72,7 +74,6 @@ namespace MeoAsstGui private string _updateInfo = ViewStatusStorage.Get("VersionUpdate.body", string.Empty); // private static readonly MarkdownPipeline s_markdownPipeline = new MarkdownPipelineBuilder().UseXamlSupportedExtensions().Build(); - public string UpdateInfo { get @@ -132,7 +133,6 @@ namespace MeoAsstGui // } // } // } - public bool IsFirstBootAfterUpdate { get { return UpdateTag != string.Empty && UpdateTag == _curVersion; }