diff --git a/package.json b/package.json index d2279ec..eb81e9e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nexe", "description": "Create a single executable out of your Node.js application", "license": "MIT", - "version": "2.0.0-rc.32", + "version": "2.0.0-rc.33", "contributors": [ "Craig Condon (http://crcn.io)", "Jared Allard ", diff --git a/src/steps/shim-fs.ts b/src/steps/shim-fs.ts index 79d8159..2d41101 100644 --- a/src/steps/shim-fs.ts +++ b/src/steps/shim-fs.ts @@ -214,7 +214,7 @@ const nfs: any = { process.execPath, Object.assign({}, opts, { start: resourceOffset, - end: resourceOffset + length + end: resourceOffset + length - 1 }) ) }, diff --git a/test.js b/test.js deleted file mode 100644 index d2a8349..0000000 --- a/test.js +++ /dev/null @@ -1,3 +0,0 @@ -console.log('hello world') -const fs = require('fs') -console.log(fs.existsSync('./README.md'))