diff options
| author | Дмитрий Корлодный <deusex1998@gmail.com> | 2026-11-30 08:14:20 +0000 |
|---|---|---|
| committer | Дмитрий Корлодный <deusex1998@gmail.com> | 2026-11-30 08:14:20 +0000 |
| commit | 206bb4b68825cfbd586a09e5f6768be98655bbe2 (patch) | |
| tree | ccb7aa28ff059dcb352a61ebb46bbda909c2bd95 /runtime/src/xma2_decoder.cpp | |
| parent | caf4fc3698927c0e529209ab08c2bceb4dc1c672 (diff) | |
run_game_wine.sh: --cache fresh is cold: drops the drivers' cache variables and an old session/cache (WINE-RUN-SHADER-CACHE)
Review follow-up (timbot103):
- A driver's own variable wins over XDG_CACHE_HOME, so a warm MESA_SHADER_CACHE_DIR, MESA_GLSL_CACHE_DIR or
__GL_SHADER_DISK_CACHE_PATH reached Wine under --cache fresh. A fresh run now unsets them; with a kept cache the
caller's variables stay and win. --help and docs/linux_proton.md say so.
- A run folder whose earlier launch did not start is accepted again: a fresh run now empties its session/cache, and
session.txt is written anew instead of getting a second "shader cache:" line.
- test_run_game_wine_safety's shared fixture passes --cache fresh, so an inherited XDG_CACHE_HOME stays out.
Two new tests in tests/test_run_game_wine.py fail with the old script and pass with this one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JPqXc6svM4pbBagTsVEYA3
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions