(client) chore: Rename FileHandler to ConfigProcessor

This commit is contained in:
2025-07-12 21:41:54 +08:00
parent e95e3527d0
commit a918150f66
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ using Formatting = Newtonsoft.Json.Formatting;
namespace Configs
{
public static class FileHandler
public static class ConfigProcessor
{
// 保存文件的默认文件夹路径
private const string FolderPath = "save";
@ -16,7 +16,7 @@ namespace Configs
/// <summary>
/// 初始化文件夹
/// </summary>
static FileHandler()
static ConfigProcessor()
{
if (!Directory.Exists(FolderPath)) Directory.CreateDirectory(FolderPath);
}

View File

@ -110,7 +110,7 @@ namespace Data
public bool LoadPack(string packPath)
{
var packDatas = FileHandler.LoadXmlFromPath(packPath);
var packDatas = ConfigProcessor.LoadXmlFromPath(packPath);
var aboutXmls = FindDocumentsWithRootName(packDatas, "About");
if (aboutXmls == null || aboutXmls.Count < 1)
{