Skip to content

Added macos install wkhtmltopdf #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions script/get-wkhtmltopdf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ deps:
- windows
- tags: get,generic-sys-util,_wkhtmltopdf
enable_if_env:
MLC_HOST_OS_TYPE:
- darwin
MLC_INSTALL_FROM_PACKAGE_MANAGER:
- on
uid: 67ec874a3dfe4b87
docker:
pre_run_cmds:
- mlc pull repo
variations:
with-qt:
group: qt
default: true
default: true
7 changes: 7 additions & 0 deletions script/get-wkhtmltopdf/run-macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
# This script installs wkhtmltopdf on Amazon Linux
curl -L -o wkhtmltox-0.12.6-1.macos-cocoa.pkg https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.macos-cocoa.pkg
${MLC_SUDO} installer -pkg wkhtmltox-0.12.6-1.macos-cocoa.pkg -target /

wkhtmltopdf --version
test $? -eq 0 || exit $?
Loading