#110 Ability to load/save settings

Also includes support for remaining enum/timedelta settings through the yaml file.
- timedelta's in minutes
- enum's should be written out: enumType.enumValue
This commit is contained in:
Raffson
2023-04-09 21:53:37 +02:00
parent 5916ed43d2
commit 3f509a876e
3 changed files with 90 additions and 7 deletions

View File

@@ -27,6 +27,10 @@ def base_path() -> str:
return _dcs_saved_game_folder
def settings_dir() -> Path:
return Path(base_path()) / "Retribution" / "Settings"
def save_dir() -> Path:
return Path(base_path()) / "Retribution" / "Saves"