core: show data_dir in config and check its asset policy #611
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/611"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by AdvaitPalve11 on 2026-11-24T05:35:57Z.
'victory config' displays game_dir, cache_dir, and test_titles, but omitted data_dir (where saves, persistent local storage, and crashes.log are stored). It also omitted data_dir from the runtime asset-policy check loop in show_config().
Include data_dir in the output and policy check, and add a unit test in victory-core asserting that a data_dir inside the repository is refused.
Imported from Marvisak/VIctory. Originally posted by LAKSHYA-cmd-tech on 2026-11-24T06:02:44Z.
Review: APPROVED
Tested on Windows 11 with Rust 1.98.1 (x86_64-pc-windows-msvc).