New automatic de-briefing system implemented

This commit is contained in:
Khopa
2019-10-13 03:40:22 +02:00
parent 4365db0fae
commit 3f5f4f4bb1
18 changed files with 309 additions and 696 deletions

View File

@@ -5,6 +5,8 @@ import os
import sys
import shutil
from dcs import installation
_user_folder = None # type: str
@@ -17,6 +19,7 @@ def base_path() -> str:
global _user_folder
assert _user_folder
return installation.get_dcs_saved_games_directory()
openbeta_path = os.path.join(_user_folder, "DCS.openbeta")
if "--force-stable-DCS" not in sys.argv and os.path.exists(openbeta_path):
return openbeta_path