From 63e4deb68dd15a549cb4004529e8769d80a0aea5 Mon Sep 17 00:00:00 2001 From: Gilles Boccon-Gibod Date: Sat, 25 Nov 2023 09:51:52 -0800 Subject: [PATCH] fix for windows --- tasks/build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/build.py b/tasks/build.py index 81bc6459..b9f553f4 100644 --- a/tasks/build.py +++ b/tasks/build.py @@ -37,4 +37,8 @@ def rebuild(ctx, clean = False): @task(rebuild) def sdk(ctx): - ctx.run("python3 Scripts/SdkPackager.py") + if sys.platform == "win32": + python = "python" + else: + python = "python3" + ctx.run(f"{python} Scripts/SdkPackager.py")