diff --git a/src/steps/cli.ts b/src/steps/cli.ts index 6f80e15d..3c8e1547 100644 --- a/src/steps/cli.ts +++ b/src/steps/cli.ts @@ -1,8 +1,10 @@ +import { platform } from 'os' import { dirname, normalize, relative, resolve } from 'path' -import { createWriteStream, chmodSync, statSync } from 'fs' +import { createWriteStream, chmodSync, statSync, readFileSync, writeFileSync } from 'fs' import { NexeCompiler } from '../compiler' import { NexeTarget } from '../target' import { STDIN_FLAG } from '../util' +import { patchMachOExecutable } from './mach-o' import mkdirp = require('mkdirp') /** @@ -42,6 +44,10 @@ export default async function cli(compiler: NexeCompiler, next: () => Promise