Skip to content

Commit 2731977

Browse files
committed
Use pkg on OSX for now
1 parent 1670a47 commit 2731977

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/build/src/compile-exec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ const compileExec = async(
6666
console.log('mongosh: creating binary:', executable);
6767

6868
if (platform === Platform.MacOs) {
69-
const { compile } = require('nexe');
70-
await new SignableCompiler(execInput, executable, platform)
71-
.compile(compile);
69+
const { exec } = require('pkg');
70+
await new UnsignableCompiler(input, executable, platform)
71+
.compile(exec);
7272
} else {
7373
const { exec } = require('pkg');
7474
await new UnsignableCompiler(input, executable, platform)

0 commit comments

Comments
 (0)