Use existing path variables in the generated config

pull/3236/head
elsid 6 months ago
parent 8bed983661
commit fa1e574097
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -45,11 +45,11 @@ def runTest(name):
with open(config_dir / "openmw.cfg", "w", encoding="utf-8") as omw_cfg:
omw_cfg.writelines(
(
f'data="{example_suite_dir}{os.sep}game_template{os.sep}data"\n',
f'data="{example_suite_content.parent}"\n',
f'data="{testing_util_dir}"\n',
f'data-local="{test_dir}"\n',
f'user-data="{userdata_dir}"\n',
"content=template.omwgame\n",
f'content={example_suite_content.name}\n',
)
)
if (test_dir / "openmw.cfg").exists():

Loading…
Cancel
Save