From 6ff0b2b42272e4f045905cdd859d8ba5a994a16a Mon Sep 17 00:00:00 2001 From: "Jon G." Date: Sun, 26 Jan 2025 11:51:52 -0500 Subject: [PATCH] fix: Alternative windows name in `ffi.ts` (#71) "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 f7fc70c..1df28b4 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}${