fix: state and config path

This commit is contained in:
2026-06-03 14:21:12 +02:00
parent 0749622166
commit 276b61aeca
+2 -2
View File
@@ -11,7 +11,7 @@ import json
state_dir = Path(
os.environ.get("XDG_STATE_HOME", Path.home() / ".local" / "state")
) / "nixpkgs-notify"
) / "nixpkgs-notifier"
state_dir.mkdir(parents=True, exist_ok=True)
trackedPRPath = state_dir / "tracked.txt"
@@ -19,7 +19,7 @@ trackedPRFile = Path(trackedPRPath)
config_dir = Path(
os.environ.get("XDG_CONFIG_HOME", Path.home() / ".config")
) / "nixpkgs-notify"
) / "nixpkgs-notifier"
configPath = config_dir / "config.json"
configFile = Path(configPath)