missing args

This commit is contained in:
James
2022-02-03 18:41:21 +00:00
parent 0ca5a63c4d
commit 92517179e2

View File

@@ -212,7 +212,7 @@ def install_workshop(server_path: str, workshop_files: list) -> bool:
]
for file in workshop_files:
args.append(file)
args.append(f"-i{file}")
subprocess.run(args)
@@ -272,7 +272,7 @@ def server_keys(server_path: str, steamcmd_path: str, credentials: list) -> bool
print("\t\t<steam_games_dir>\\steamapps\\common\\rFactor 2\\UserData\\ServerUnlock.bin")
print(f"\t7 - Copy ServerUnlock.bin back to {server_path}/UserData/ServerUnlock.bin")
if not start_server():
if not start_server(server_path):
return False
input("\nPress Enter once you have completed those steps: ")
@@ -319,7 +319,7 @@ def setup_server(server_name: str, parent_path: str, content_file: str, credenti
if not open_mas2(server_path):
return False
if not start_server():
if not start_server(server_path):
return False
return True