LinuxIssue Trim & msstore version remove beta

This commit is contained in:
Aigio Liu
2021-11-22 12:00:08 +08:00
parent 91dfc500df
commit c2e4e8ad94
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ Clearly describe the reproduction steps so that others can see the problem
### 🚑 基本信息(Basic Information)
- 程序版本(Program Version):
- 系统版本号(OS Version): <!-- example Windows 10.19042.844(see winver) -->
- 系统版本号(OS Version): <!-- example Windows 10.19042.844(see winver) / macOS Monterey 12 / Ubuntu 20.04.2 LTS -->
- 是否为应用商店版本(Whether it is a Store version): <!--是(Yes)/否(No)-->
### 🖼 截图(Screenshots)
+1 -1
View File
@@ -22,5 +22,5 @@ Other information such as screenshots can be posted here
-->
- 程序版本(Program Version):
- 系统版本号(OS Version): <!-- example Windows 10.19042.844(see winver) -->
- 系统版本号(OS Version): <!-- example Windows 10.19042.844(see winver) / macOS Monterey 12 / Ubuntu 20.04.2 LTS -->
- 是否为应用商店版本(Whether it is a Store version): <!--是(Yes)/否(No)-->
@@ -13,7 +13,7 @@ namespace System.Properties
{
return Version + alpha;
}
else if (OperatingSystem2.IsMacOS || (OperatingSystem2.IsWindows && DesktopBridge.IsRunningAsUwp))
else if (OperatingSystem2.IsMacOS)
{
return Version + beta;
}
@@ -1,6 +1,7 @@
using System.Diagnostics;
using System.Runtime.Versioning;
using System.IO;
using System.Linq;
namespace System.Application.Services
{
@@ -13,7 +14,7 @@ namespace System.Application.Services
var filePath = string.Format("{0}etc{0}issue", Path.DirectorySeparatorChar);
if (File.Exists(filePath))
{
return File.ReadAllText(filePath).TrimEnd(@" \n \l");
return File.ReadAllText(filePath).TrimEnd(" \\n \\l\n\n");
}
}
return string.Empty;