From e9e9e3412007f83489994cc87a1041edb3cebb01 Mon Sep 17 00:00:00 2001 From: Joel Wong <127782171+joel-wong-aws@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:21:56 -0500 Subject: [PATCH] feat: speedup KSP extraction on Windows (#112) Signed-off-by: wonjoel <127782171+joel-wong-aws@users.noreply.github.com> --- README.md | 2 +- src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 01d6c06..549b0a8 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ AWS Deadline Cloud for KeyShot is a python package that allows users to create [ This library requires: 1. KeyShot 2023 or 2024 1. Python 3.9 or higher; and -1. Windows, or a macOS operating system. +1. Windows or macOS operating system. ## Submitter diff --git a/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py b/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py index 02b3d73..12dffb2 100644 --- a/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py +++ b/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py @@ -418,6 +418,8 @@ def get_ksp_bundle_files(directory: str) -> Tuple[str, list[str]]: [ "PowerShell", "-Command", + '$ProgressPreference = "SilentlyContinue"', # don't display progress bar, up to 4x speedup + ";", "Expand-Archive", "-Path", ksp_archive,