Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
Merge pull request #443 from Medium/nick-phantomjs
Browse files Browse the repository at this point in the history
fix up windows install because the package structure changed. Fixes #442
  • Loading branch information
nicks committed Jan 25, 2016
2 parents 143e057 + 5ef56f5 commit 353399a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "phantomjs",
"version": "2.1.1",
"version": "2.1.2",
"keywords": [
"phantomjs",
"headless",
Expand Down

0 comments on commit 353399a

Please sign in to comment.