mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 13:05:47 +00:00
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:
1 parent
c887aa1cd2
commit
c1cd433cb2
2 files changed
+11
-7
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user