mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix(config): restore source app.env resolution (#6340)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user