Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions webpmux.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ var knowos=function()
{
if (process.platform === 'darwin') {

return 'lib/libwebp_osx/bin/webpmux';//return osx library path
return __dirname + 'lib/libwebp_osx/bin/webpmux';//return osx library path

}else if (process.platform === 'linux') {

return 'lib/libwebp_linux/bin/webpmux';//return linux library path
return __dirname + 'lib/libwebp_linux/bin/webpmux';//return linux library path

}else if (process.platform === 'win32') {

if (process.arch === 'x64') {
return 'lib/libwebp_win64/bin/webpmux.exe';//return windows 64bit library path
return __dirname + 'lib/libwebp_win64/bin/webpmux.exe';//return windows 64bit library path
} else {
return 'lib/libwebp_win32/bin/webpmux.exe';//return windows 32(X86)bit library path
return __dirname + 'lib/libwebp_win32/bin/webpmux.exe';//return windows 32(X86)bit library path
}

} else {
Expand Down