Skip to content
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

Doesn't work on Catalina #4

Closed
setanarut opened this issue Oct 30, 2019 · 5 comments
Closed

Doesn't work on Catalina #4

setanarut opened this issue Oct 30, 2019 · 5 comments

Comments

@setanarut
Copy link

setanarut commented Oct 30, 2019

Doesn't work on Catalina

I checked.

  • No conflicts with other generators. ✔️
  • Generator is active. ✔️
@Watson1978
Copy link
Owner

Seems macOS 10.15 Gatekeeper rejects QuickLook plugins which render HTML.

So far, when you can disable Gatekeeper as following command at once, the plugin will work.

$ sudo spctl --master-disable

(You can also enable GateKeeper as following)

$ sudo spctl --master-enable
$ spctl --status

@setanarut
Copy link
Author

Seems macOS 10.15 Gatekeeper rejects QuickLook plugins which render HTML.
So far, when you can disable Gatekeeper as following command at once, the plugin will work.

without gatekeeper also does not work. I tried every way. Other plugins which render HTML are working with gatekeeper. ( qlmarkdown, SourceCodeSyntaxHighlight )

@pryley
Copy link

pryley commented Jan 28, 2020

It worked for me like this:

  1. Install the plugin
  2. Reset Quick Look: qlmanage -r
  3. Open a Finder window and attempt to Quick Look a markdown file
  4. Close the Finder window
  5. Open Preferences > Security & Privacy and click "Allow Anyway"
  6. Quit Preferences
  7. Remove the quarantine attributes: xattr -d -r com.apple.quarantine ~/Library/QuickLook/
  8. Reset Quick Look: qlmanage -r

@setanarut
Copy link
Author

Also doesn't work on Big Sur

@setanarut setanarut changed the title Catalina Support? Doesn't work on Catalina Dec 24, 2020
@pryley
Copy link

pryley commented Dec 24, 2020

@hazarek

  1. Download the release
  2. Remove the quarantine flag
xattr -rd ~/Downloads/QLMarkdownGFM.qlgenerator.zip
  1. Install

However, I no longer use this. On Catalina I replaced all QL plugins with Glance, but that stopped working on Big Sur and the project on github was archived, so I switched to iPreview.

Removing the quarantine flag does work and allows you to successfully install it in Catalina (It worked successfully for me without changing or disabling Gatekeeper, although a reboot may be necessary if qlmanage -r does not work). However, I have not tested this in Big Sur and the problem may be due to a lack of codesigning all included libraries used in the QL plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants