toland / qlmarkdown

QuickLook generator for Markdown files.
3.24k stars 141 forks source link

Catalina support #91

Closed tattali closed 4 years ago

tattali commented 4 years ago

Sorry for these big changes but QLMarkdown is finally working with catalina #89

QLMarkdown.qlgenerator.zip

$ mv QLMarkdown.qlgenerator ~/Library/QuickLook/QLMarkdown.qlgenerator
$ qlmanage -r

I will update the homebrew formula as soon the release is out!

tattali commented 4 years ago

It seems thats the quick look should be notarized with 99$ fee. To prevent this you should :

$ open ~/Library/QuickLook/QLMarkdown.qlgenerator/Contents/MacOS/

right click open on the binary then in the Preferences panel > go to Security & Privacy > and click on Allow QLMarkdown then if needed re run qlmanage

qlmanage -r

If you find an other way please share it

jspiro commented 4 years ago

THANK YOU!

tattali commented 4 years ago

Inspired by this post, a process for this bundle could be:

Download QLMarkdown.qlgenerator.zip and unzip

$ mv ~/Downloads/QLMarkdown.qlgenerator ~/Library/QuickLook/QLMarkdown.qlgenerator
$ xattr -rd com.apple.quarantine  ~/Library/QuickLook/QLMarkdown.qlgenerator
$ qlmanage -r

try xattr without sudo, but you can use it if needed

Tell me if this process work fine to you, or if you need to use sudo or not, if you need to do extra work

Thanks

Egwor commented 4 years ago

Checked this out locally and built it fine. Ran it locally and it seemed to work ok.

image

The reason I'm here was that I saw the issue about the annoying 'malicious software' when I pulled the file down from brew). A faster fix is to run xattr -rd com.apple.quarantine QLMarkdown.qlgenerator from the ~/Library/QuickLook/ directory of course, but I was intrigued... I, therefore, did a git clone, then pulled this PR down (via: git fetch origin pull/91/head:catalina-support for anyone wanting to copy this). I launched XCode and opened the project. I then built it fine (master didn't build). I ran Archive to get a distributable executable (although that seemed quite large at about 124K)

janosh commented 4 years ago

Would be really helpful if this was merged.