remove public const dirname steamapps

This commit is contained in:
Aigio Liu
2021-11-22 10:36:41 +08:00
parent 7be12e1d46
commit 91dfc500df
2 changed files with 2 additions and 6 deletions
-6
View File
@@ -22,12 +22,6 @@ namespace System.Application.Services
const string url_steamcommunity_checkclientautologin = url_steamcommunity + "/login/checkclientautologin";
static readonly Uri uri_store_steampowered_checkclientautologin = new(url_store_steampowered_checkclientautologin);
#region 文件夹名,linux上区分大小写
public const string dirname_steamapps = "steamapps";
#endregion
/// <summary>
/// Steam 文件夹目录
/// </summary>
@@ -530,6 +530,8 @@ namespace System.Application.Services.Implementation
string[]? GetLibraryPaths()
{
const string dirname_steamapps = "steamapps"; // 文件夹名,linux上区分大小写
if (string.IsNullOrEmpty(SteamDirPath) || !Directory.Exists(SteamDirPath))
{
return null;