fix: node v18.12 startup (#1026)
Fixes https://github.com/nexe/nexe/issues/1019
This commit is contained in:
@@ -29,6 +29,8 @@ export default async function main(compiler: NexeCompiler, next: () => Promise<v
|
||||
|
||||
if (version.startsWith('4.')) {
|
||||
bootFile = 'src/node.js'
|
||||
} else if (semverGt(version, '18.11.99')) {
|
||||
bootFile = 'lib/internal/process/pre_execution.js'
|
||||
} else if (semverGt(version, '11.99')) {
|
||||
bootFile = 'lib/internal/bootstrap/pre_execution.js'
|
||||
} else if (semverGt(version, '9.10.1')) {
|
||||
|
||||
Reference in New Issue
Block a user