Commit Graph
4 Commits
Author SHA1 Message Date
OmikronApexandClaude Fable 5 6eeec8e2a6 fix(library): keep the resolved env fallback on failure statuses
The backend has no built-in library default — _get_dlc_dir() returns None
when DLC_DIR is unset and config.json is unusable — so deleting DLC_DIR on
invalid-config/write-failed stranded the user with an empty library and
only a console warn (corrupt config.json, or a saved dlc_dir pointing at
an unplugged drive, previously still produced a working library via the
env fallback).

invalid-config and write-failed now export the resolved fallback as
DLC_DIR, restoring pre-#117 behaviour exactly and only where config.json
cannot own the path. Config-owned dynamic refresh is unchanged for the
configured/bootstrapped paths.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 23:16:55 +02:00
Viktor Olausson aa388b87d5 fix(library): validate saved library paths 2026-07-17 18:42:43 +02:00
Viktor Olausson 2dfa414e64 fix(library): validate DLC_DIR overrides 2026-07-17 16:24:39 +02:00
Viktor Olausson 9d40432700 fix(library): apply saved path without restart 2026-07-17 16:04:28 +02:00