Skip to content

Commit 88df1f6

Browse files
committed
adjusted build executable name based on OS
1 parent 1119358 commit 88df1f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import caxa from "caxa";
2+
import Os from 'os';
23

34
(async () => {
45
await caxa({
56
input: ".",
6-
output: "conceal-cli.exe",
7+
output: Os.platform() === "win32" ? "conceal-cli.exe" : "conceal-cli",
78
command: [
89
"{{caxa}}/node_modules/.bin/node",
910
"{{caxa}}/index.js"

0 commit comments

Comments
 (0)