diff --git a/launch.py b/launch.py index df79c61..a4582f1 100644 --- a/launch.py +++ b/launch.py @@ -39,15 +39,21 @@ def env_defined(key): if env_defined("STEAM_ADDITIONAL_DEPOT"): for depot in os.environ["STEAM_ADDITIONAL_DEPOT"].split("|"): depot_parts = depot.split(",") - steamcmd.extend(["+login", os.environ["STEAM_USER"], os.environ["STEAM_PASSWORD"]]) - steamcmd.extend(["+download_depot", "233780", depot_parts[0], depot_parts[1]]) + steamcmd.extend( + ["+login", os.environ["STEAM_USER"], os.environ["STEAM_PASSWORD"]] + ) + steamcmd.extend( + ["+download_depot", "233780", depot_parts[0], depot_parts[1]] + ) steamcmd.extend(["+quit"]) subprocess.call(steamcmd) if env_defined("STEAM_ADDITIONAL_DEPOT"): for depot in os.environ["STEAM_ADDITIONAL_DEPOT"].split("|"): depot_parts = depot.split(",") - depot_dir = f"/steamcmd/linux32/steamapps/content/app_233780/depot_{depot_parts[0]}/" + depot_dir = ( + f"/steamcmd/linux32/steamapps/content/app_233780/depot_{depot_parts[0]}/" + ) for file in os.listdir(depot_dir): shutil.copytree(depot_dir + file, "/arma3/", dirs_exist_ok=True) print(f"Moved {file} to /arma3")