missing args
This commit is contained in:
@@ -212,7 +212,7 @@ def install_workshop(server_path: str, workshop_files: list) -> bool:
|
|||||||
]
|
]
|
||||||
|
|
||||||
for file in workshop_files:
|
for file in workshop_files:
|
||||||
args.append(file)
|
args.append(f"-i{file}")
|
||||||
|
|
||||||
subprocess.run(args)
|
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("\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")
|
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
|
return False
|
||||||
|
|
||||||
input("\nPress Enter once you have completed those steps: ")
|
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):
|
if not open_mas2(server_path):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if not start_server():
|
if not start_server(server_path):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user