Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added precompiled 64 bit linux binary

  • Loading branch information...
commit 3d026e91d40ef49bf304521220a4d270d68a9b6b 1 parent 82ccd0c
@badunk badunk authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/optipng-bin.js
  2. BIN  vendor/linux/optipngx64
View
6 lib/optipng-bin.js
@@ -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 {
View
BIN  vendor/linux/optipngx64
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.