Skip to content

Commit

Permalink
Update paths to new static binaries
Browse files Browse the repository at this point in the history
Fixes #1

Former-commit-id: e9ebda6
Former-commit-id: 18939f7
  • Loading branch information
joppuyo authored Aug 30, 2021
1 parent f561624 commit 9339639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JpegXlEncode/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ private static function getBinaryPath()
return __DIR__ . '/../../bin/cjxl-v0-5-0-macos-x64-static';
}
if (PHP_OS_FAMILY === 'Linux') {
return __DIR__ . '/../../bin/cjxl-v84f08079a0a5491ab81f3a7c6fb2ce8e3995d88d-linux-x64-static';
return __DIR__ . '/../../bin/cjxl-v0-5-0-linux-x64-static';
}
if (PHP_OS_FAMILY === 'Windows') {
return __DIR__ . '/../../bin/cjxl-v84f08079a0a5491ab81f3a7c6fb2ce8e3995d88d-windows-x64-static.exe';
return __DIR__ . '/../../bin/cjxl-v0-5-0-windows-x64-static.exe';
}
throw new \Exception('Could not find binary suitable for the current operating system.');
}
Expand Down

0 comments on commit 9339639

Please sign in to comment.