Skip to content

Commit

Permalink
added precompiled 64 bit linux binary
Browse files Browse the repository at this point in the history
  • Loading branch information
badunk committed Feb 17, 2013
1 parent 82ccd0c commit 3d026e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/optipng-bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ var path = require('path');
if (process.platform === 'darwin') {
exports.path = path.join(__dirname, '../vendor/osx', 'optipng');
} else if (process.platform === 'linux') {
exports.path = path.join(__dirname, '../vendor/linux', 'optipng');
if (process.arch === 'x64') {
exports.path = path.join(__dirname, '../vendor/linux', 'optipngx64');
} else {
exports.path = path.join(__dirname, '../vendor/linux', 'optipng');
}
} else if (process.platform === 'win32') {
exports.path = path.join(__dirname, '../vendor/win32', 'optipng.exe');
} else {
Expand Down
Binary file added vendor/linux/optipngx64
Binary file not shown.

0 comments on commit 3d026e9

Please sign in to comment.