Skip to content

Commit

Permalink
Fixed Chromedriver downloader to not use broken version 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
asciidisco committed Aug 22, 2013
1 parent b448be8 commit b166b9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ var libPath = path.join(__dirname, 'lib', 'bin', 'chromedriver');
var downloadUrl = 'http://chromedriver.googlecode.com/files/chromedriver2_';

if (process.platform === 'linux' && process.arch === 'x64') {
downloadUrl += 'linux64_0.8.zip';
downloadUrl += 'linux64_0.7.zip';
} else if (process.platform === 'linux') {
downloadUrl += 'linux32_0.8.zip';
downloadUrl += 'linux32_0.7.zip';
} else if (process.platform === 'darwin') {
downloadUrl += 'mac32_0.8.zip';
downloadUrl += 'mac32_0.7.zip';
} else if (process.platform === 'win32') {
downloadUrl += 'win32_0.8.zip';
downloadUrl += 'win32_0.7.zip';
} else {
console.log('Unexpected platform or architecture:', process.platform, process.arch);
process.exit(1);
Expand Down

0 comments on commit b166b9e

Please sign in to comment.