We ran into an issue recently wherein the binary extraction failed silently and resulted in a file with 0 bytes. Because the check on bin/wkhtmltopdf:60 does not check for filesize, only that the file doesn't exist, the proper binary was never extracted. This Pull Request adds an additional check so that it will perform the extract if the file exists but the size is 0
We ran into an issue recently wherein the binary extraction failed silently and resulted in a file with 0 bytes. Because the check on bin/wkhtmltopdf:60 does not check for filesize, only that the file doesn't exist, the proper binary was never extracted. This Pull Request adds an additional check so that it will perform the extract if the file exists but the size is 0