daudmalik06/PhpChromeToPdf

Mac OS binary

Closed this issue · 2 comments

Is there a way to use this on Mac, the apt-get instructions fail on Mac, of course, and this fails too

$chrome=new Chrome(null,'/Applications/Google\ Chrome.app');

I have fixed this now. For others you have to reference the exec inside the .app folder.

In my case I copied the .app file and then renamed it to google-chrome and then reference it like so

$chrome =new Chrome(null,'/Users/joebloggs/Desktop/google-chrome/Contents/MacOS/Google\ Chrome');

thanks buddy