Skip to content

Commit

Permalink
fix: Alternative windows name in ffi.ts (#71)
Browse files Browse the repository at this point in the history
"windows_nt" is an alternative name for Windows OS
  • Loading branch information
jpg-gamepad authored Jan 26, 2025
1 parent df70b03 commit 6ff0b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ffi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}${
Expand Down

0 comments on commit 6ff0b2b

Please sign in to comment.