From efd3dfc35a1df79a71672b4ea7a480cc287b426e Mon Sep 17 00:00:00 2001 From: calebboyd Date: Mon, 24 Jun 2019 15:57:54 -0500 Subject: [PATCH] fix: windows build 10.16 --- package-lock.json | 2 +- package.json | 2 +- src/compiler.ts | 2 +- tasks/build.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 929e2bd..31a05f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nexe", - "version": "3.3.1", + "version": "3.3.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b3e8200..4c330b3 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": "3.3.1", + "version": "3.3.2", "contributors": [ "Craig Condon (http://crcn.io)", "Jared Allard ", diff --git a/src/compiler.ts b/src/compiler.ts index 23f54f7..2261ae2 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -237,7 +237,7 @@ export class NexeCompiler { } private _configureAsync() { - if (isWindows && semverGt(this.target.version, '11.999')) { + if (isWindows && semverGt(this.target.version, '10.15.99')) { return Promise.resolve() } return this._runBuildCommandAsync(this.env.PYTHON || 'python', [ diff --git a/tasks/build.ts b/tasks/build.ts index 17a8ec3..cea1c9d 100644 --- a/tasks/build.ts +++ b/tasks/build.ts @@ -4,7 +4,7 @@ import { runDockerBuild } from './docker' import { getTarget, targetsEqual, NexeTarget } from '../lib/target' import { pathExistsAsync, readFileAsync, execFileAsync, semverGt } from '../lib/util' import got = require('got') -import { cpus } from 'os'; +import { cpus } from 'os' const env = process.env, isPullRequest = env.BUILD_REASON === 'PullRequest',