mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Use existing path variables in the generated config
This commit is contained in:
parent
8bed983661
commit
fa1e574097
@ -45,11 +45,11 @@ def runTest(name):
|
|||||||
with open(config_dir / "openmw.cfg", "w", encoding="utf-8") as omw_cfg:
|
with open(config_dir / "openmw.cfg", "w", encoding="utf-8") as omw_cfg:
|
||||||
omw_cfg.writelines(
|
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="{testing_util_dir}"\n',
|
||||||
f'data-local="{test_dir}"\n',
|
f'data-local="{test_dir}"\n',
|
||||||
f'user-data="{userdata_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():
|
if (test_dir / "openmw.cfg").exists():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user