mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-29 07:27:36 +08:00
LinuxIssue Trim & msstore version remove beta
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user