Skip to content

Commit 6ff0b2b

Browse files
authored
fix: Alternative windows name in ffi.ts (denosaurs#71)
"windows_nt" is an alternative name for Windows OS
1 parent df70b03 commit 6ff0b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ffi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const DENO_PYTHON_PATH = Deno.env.get("DENO_PYTHON_PATH");
99
if (DENO_PYTHON_PATH) {
1010
searchPath.push(DENO_PYTHON_PATH);
1111
} else {
12-
if (Deno.build.os === "windows" || Deno.build.os === "linux") {
12+
if (Deno.build.os === "windows" || Deno.build.os === "linux" || Deno.build.os === "windows_nt") {
1313
searchPath.push(
1414
...SUPPORTED_VERSIONS.map(([major, minor]) =>
1515
`${Deno.build.os === "linux" ? "lib" : ""}python${major}${

0 commit comments

Comments
 (0)