Skip to content

Commit

Permalink
Unquarantine QLMarkdown.qlgenerator after installation
Browse files Browse the repository at this point in the history
Even after Allowing Anyway in Big Sur Privacy PrefPane, the unsigned plugin wouldn't run.

Fixes toland/qlmarkdown#98 when installed via Homebrew
  • Loading branch information
unitof committed Feb 10, 2021
1 parent c20810b commit 0341d2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Casks/qlmarkdown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@
homepage "https://github.com/toland/qlmarkdown"

qlplugin "QLMarkdown.qlgenerator"

postflight do
system_command "xattr",
args: ["-cr", File.join(ENV["HOME"], "Library/QuickLook/QLMarkdown.qlgenerator")],
sudo: false
end
end

0 comments on commit 0341d2c

Please sign in to comment.