mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-23 10:06:18 +01:00
Confirmed live against a real install: steamcmd's app_update can exit 0 without actually finishing -- it left installdir pointing at a stale, unrelated folder name (from an earlier corrupted manifest state) and InstalledDepots empty despite a "clean" exit. Relaunching the Steam client then read that same stale field and wiped the correctly-downloaded folder as orphaned while starting a fresh download into the wrong one -- real data loss, not a hypothetical. - manifest_reflects_real_install() checks StateFlags/installdir/ InstalledDepots directly instead of trusting the return code. - ensure_installdir_correct() patches a stale installdir BEFORE running steamcmd, not just in the crash-fallback path after. - run_steamcmd_validate() no longer captures stdout/stderr: steamcmd prompts for a password (and Steam Guard) on stdin, and prompt text written to a captured/buffered stdout never reached the terminal -- the process looked hung with no visible request for input. Output now inherits the parent terminal, matching depotdownloader's own interactive login. The confirmed install-script segfault is detected via the SIGSEGV exit signal instead of grepping captured text. - finish_manifest_manually() now also corrects installdir (previously only fixed by ensure_installdir_correct, not the crash-fallback path) and no longer lets a "0" buildid sentinel short-circuit past a real TargetBuildID via a bare `or` chain. - cli.py gains --skip-steamcmd: go straight from depotdownloader's download to a direct manifest write, bypassing steamcmd's app_update entirely. It has now shown two separate failure modes (the segfault, and a silent no-op run) -- this is the same direct-write approach already confirmed to work standalone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_library.py | ||
| test_recognize.py | ||
| test_vdf.py | ||