mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-28 14:08:16 +08:00
remove public const dirname steamapps
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user