fix: 修复日志保存路径错误问题

This commit is contained in:
3cxc
2026-02-13 01:12:20 +08:00
parent 182ccd037b
commit 69bb0e948e

View File

@@ -71,10 +71,10 @@ namespace EasyTools.Configs
public bool EnableLogger { get; set; } = true; public bool EnableLogger { get; set; } = true;
[Description("Player logger settings / 玩家日志保存路径")] [Description("Player logger settings / 玩家日志保存路径")]
public string PlayerLogPath { get; set; } = Path.Combine(PathManager.Configs.FullName ?? Environment.CurrentDirectory, @$"{Server.Port}.txt"); public string PlayerLogPath { get; set; } = Path.Combine(PathManager.Configs.FullName ?? Environment.CurrentDirectory, "/JoinLogs");
[Description("Management logger settings / 管理日志保存路径")] [Description("Management logger settings / 管理日志保存路径")]
public string AdminLogPath { get; set; } = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); public string AdminLogPath { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "/AdminLogs");
/// ///////////////////////////////////////////////// /// /////////////////////////////////////////////////
[Description("Is 207 harmless? / 是否开启207(可乐)无害?")] [Description("Is 207 harmless? / 是否开启207(可乐)无害?")]