fix(config): restore source app.env resolution (#6340)

This commit is contained in:
InfinityPacer
2026-08-17 06:13:46 +08:00
committed by GitHub
parent ca99af10f1
commit 6269a24e9d
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -902,7 +902,7 @@ class SystemUtils:
elif SystemUtils.is_frozen():
return Path(sys.executable).parent / "config"
else:
return Path(__file__).parents[2] / "config"
return Path(__file__).resolve().parents[3] / "config"
@staticmethod
def get_env_path() -> Path: