From 53eddd89fc1c8df5d1e4ef208f511e17d14e7fb4 Mon Sep 17 00:00:00 2001 From: "Jon G." Date: Fri, 18 Oct 2024 08:29:14 -0400 Subject: [PATCH] Update ffi.ts "windows_nt" is an alternative name for Windows OS --- src/ffi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffi.ts b/src/ffi.ts index b4367cf..1e10382 100644 --- a/src/ffi.ts +++ b/src/ffi.ts @@ -9,7 +9,7 @@ const DENO_PYTHON_PATH = Deno.env.get("DENO_PYTHON_PATH"); if (DENO_PYTHON_PATH) { searchPath.push(DENO_PYTHON_PATH); } else { - if (Deno.build.os === "windows" || Deno.build.os === "linux") { + if (Deno.build.os === "windows" || Deno.build.os === "linux" || Deno.build.os === "windows_nt") { searchPath.push( ...SUPPORTED_VERSIONS.map(([major, minor]) => `${Deno.build.os === "linux" ? "lib" : ""}python${major}${