Skip to content

Commit

Permalink
Merge pull request #25 from zeropsio/fxck-patch-3
Browse files Browse the repository at this point in the history
Add windows support to npm binary
  • Loading branch information
jansaidl authored Jul 27, 2021
2 parents b5f14ba + ece7a5a commit e8c3db7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/npm/utils/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ function getPlatform() {
if (type === "Linux" && arch === "x64") return "linux-amd64";
if (type === "Linux" && arch === "x86") return "linux-i386";
if (type === "Darwin" && arch === "x64") return "darwin-amd64";
if (type === "Windows_NT" && arch === "x64") return "win-x64";

throw new Error(`Unsupported platform: ${type} ${arch}`);
}
Expand Down

0 comments on commit e8c3db7

Please sign in to comment.