fix(bionic): read the DD_ setting names main uses since #2800

The launcher read BL_SYNC, BL_FSYNC_FIRST, BL_SYNC_FALLBACK and BL_VK_DRIVER and kept
BL_WIDTH/BL_HEIGHT; main sends these as DD_*. Read DD_* first and keep BL_* as a
fallback, so a tool build works with app builds from before and after the rename.
The Steam install-script test uses dd_components / DD_COMPONENTS_SETUP.
This commit is contained in:
The412Banner committed 2026-11-18 19:58:18 -05:00
1 parent c887aa1cd2
commit c1cd433cb2
2 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -1475,7 +1475,7 @@ class GameEnvironmentTest(unittest.TestCase):
rows += [row("43", tool, unix, android), row("43", tool, dll, android_dll)]
rows += [row("*", tool, unix, saved)]
(component_dir / "desired.tsv").write_text("".join(rows))
script = COMPAT["BL_COMPONENTS_SETUP"] + '\nverb=waitforexitandrun; bl_components "$1"\n'
script = COMPAT["DD_COMPONENTS_SETUP"] + '\nverb=waitforexitandrun; dd_components "$1"\n'
run = lambda tool, app: subprocess.run(
["bash", "-c", script, "test", str(root / tool)], check=True, capture_output=True,
env=dict(os.environ, HOME=str(home), STEAM_COMPAT_DATA_PATH="/steam/compatdata/" + app))