diff --git a/src/patches/disable-node-cli.ts b/src/patches/disable-node-cli.ts index 2270990..2713bd4 100644 --- a/src/patches/disable-node-cli.ts +++ b/src/patches/disable-node-cli.ts @@ -6,7 +6,14 @@ export default async function disableNodeCli(compiler: NexeCompiler, next: () => return next() } - if (semverGt(compiler.target.version, '11.6.0')) { + + if (semverGt(compiler.target.version, '18.99')) { + await compiler.replaceInFileAsync( + 'src/node.cc', + /(?