From 5ef56f588c91b501cea7f76d5dd8dbb550b0e318 Mon Sep 17 00:00:00 2001 From: Nick Santos Date: Mon, 25 Jan 2016 17:43:29 -0500 Subject: [PATCH] fix up windows install because the package structure changed. Fixes #442 --- install.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.js b/install.js index 4ce3a0f9e..0b2465009 100644 --- a/install.js +++ b/install.js @@ -61,7 +61,7 @@ kew.resolve(true) }) .then(function () { var location = getTargetPlatform() === 'win32' ? - path.join(pkgPath, 'phantomjs.exe') : + path.join(pkgPath, 'bin', 'phantomjs.exe') : path.join(pkgPath, 'bin' ,'phantomjs') try { diff --git a/package.json b/package.json index 8878dfcc0..5380a8c7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phantomjs", - "version": "2.1.1", + "version": "2.1.2", "keywords": [ "phantomjs", "headless",