diff --git a/LanMountainDesktop.Launcher/Services/DataLocationResolver.cs b/LanMountainDesktop.Launcher/Services/DataLocationResolver.cs index 860b884..2fc0cd6 100644 --- a/LanMountainDesktop.Launcher/Services/DataLocationResolver.cs +++ b/LanMountainDesktop.Launcher/Services/DataLocationResolver.cs @@ -131,7 +131,9 @@ internal sealed class DataLocationResolver { try { - var configPath = ResolveConfigPath(); + // 配置文件必须位于默认系统数据路径下的 Launcher 目录中 + // 避免循环依赖:不能调用 ResolveConfigPath() -> ResolveLauncherDataPath() -> ResolveDataRoot() -> LoadConfig() + var configPath = Path.Combine(_defaultSystemDataPath, LauncherFolderName, ConfigFileName); if (!File.Exists(configPath)) { return null; diff --git a/get_git_log.py b/get_git_log.py new file mode 100644 index 0000000..e69de29