Audit SotTR (#27)

* fix some readmes

* remove options from readme

* remove harness specific pyproject and poetry lock

* remove harness presets

* remove outdated info from readme

* remove template tests

* pep8 lint

* Add output to readme

* misc lint
This commit is contained in:
Derek Hirotsu
2023-09-18 15:37:34 -07:00
committed by GitHub
parent 8d1747eb98
commit b750b8625d
27 changed files with 83 additions and 3354 deletions

View File

@@ -19,8 +19,6 @@ from harness_utils.steam import DEFAULT_EXECUTABLE_PATH as STEAM_PATH
#pylint: enable=wrong-import-position
STEAM_GAME_ID = 1091500
STEAM_PATH = os.path.join(os.environ["ProgramFiles(x86)"], "steam")
STEAM_EXECUTABLE = "steam.exe"
SCRIPT_DIRECTORY = os.path.dirname(os.path.realpath(__file__))
LOG_DIRECTORY = os.path.join(SCRIPT_DIRECTORY, "run")
PROCESS_NAME = "cyberpunk2077.exe"
@@ -28,8 +26,7 @@ PROCESS_NAME = "cyberpunk2077.exe"
def start_game():
"""Launch the game with no launcher or start screen"""
cmd = os.path.join(STEAM_PATH, STEAM_EXECUTABLE)
cmd_array = [cmd, "-applaunch",
cmd_array = [STEAM_PATH, "-applaunch",
str(STEAM_GAME_ID), "--launcher-skip", "-skipStartScreen"]
logging.info(" ".join(cmd_array))
return Popen(cmd_array)