diff --git a/Netch/Controllers/UpdateChecker.cs b/Netch/Controllers/UpdateChecker.cs index ddcc3a9e59..340f47a8b9 100644 --- a/Netch/Controllers/UpdateChecker.cs +++ b/Netch/Controllers/UpdateChecker.cs @@ -14,7 +14,11 @@ public class UpdateChecker public const string Name = @"Netch"; public const string Copyright = @"Copyright © 2019 - 2020"; - public const string Version = @"1.5.1"; + + public const string AssemblyVersion = @"1.6.0"; + private const string Suffix = @"Beta1"; + + public static readonly string Version = $"{AssemblyVersion}{(string.IsNullOrEmpty(Suffix) ? "" : $"-{Suffix}")}"; public string LatestVersionNumber; public string LatestVersionUrl; diff --git a/Netch/Properties/AssemblyInfo.cs b/Netch/Properties/AssemblyInfo.cs index 586a8e88bb..ebbab1cebd 100644 --- a/Netch/Properties/AssemblyInfo.cs +++ b/Netch/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //通过使用 "*",如下所示: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion(UpdateChecker.Version)] +[assembly: AssemblyVersion(UpdateChecker.AssemblyVersion)] // [assembly: AssemblyFileVersion("1.0.0.0")]