diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..ca74464 Binary files /dev/null and b/.DS_Store differ diff --git a/bin/wkhtmltoimage b/bin/wkhtmltoimage index b2f3887..653962a 100755 --- a/bin/wkhtmltoimage +++ b/bin/wkhtmltoimage @@ -2,7 +2,12 @@ arch = case RUBY_PLATFORM when /64.*linux/ - 'amd64' + os = `. /etc/os-release 2> /dev/null && echo ${ID}_${VERSION_ID}`.strip + if os.start_with?('rocky_8') || os.start_with?('almalinux_8') + 'centos8-x64' + else + 'amd64' + end when /linux/ 'i386' when /64.*darwin/ diff --git a/libexec/wkhtmltoimage-centos8-x64 b/libexec/wkhtmltoimage-centos8-x64 new file mode 100755 index 0000000..77a8495 Binary files /dev/null and b/libexec/wkhtmltoimage-centos8-x64 differ