Skip to content

Commit

Permalink
Add a post-install step to make sure node-pipe is really there on mac…
Browse files Browse the repository at this point in the history
…OS/Linux
  • Loading branch information
philrz committed Nov 7, 2023
1 parent 4186053 commit 1e5b628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/zui/scripts/post-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ run("node", "scripts/download-zdeps", {
desc: "Downloading zdeps (skip with ZDEPS=false yarn)",
if: process.env.ZDEPS !== "false",
})

if (process.platform !== 'win32') {
require("../../../node_modules/node-pipe/build/Release/pipe.node")
}

0 comments on commit 1e5b628

Please sign in to comment.