excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / syntax-highlight.rb
blob040f721c6413ef37fc07a8991a0e23b44bec5f3a
1 cask "syntax-highlight" do
2   version "2.1.24"
3   sha256 "31adcab045b69ad55eb0f47b4d0cb1c45f18dcf00e3391b8f32e15eeef7f97b9"
5   url "https://github.com/sbarex/SourceCodeSyntaxHighlight/releases/download/#{version}/Syntax.Highlight.zip"
6   name "Syntax Highlight"
7   desc "Quicklook extension for source files"
8   homepage "https://github.com/sbarex/SourceCodeSyntaxHighlight"
10   auto_updates true
11   depends_on macos: ">= :catalina"
13   app "Syntax Highlight.app"
14   binary "#{appdir}/Syntax Highlight.app/Contents/Resources/syntax_highlight_cli"
16   zap trash: [
17     "~/Library/Application Scripts/org.sbarex.SourceCodeSyntaxHighlight",
18     "~/Library/Application Scripts/org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension",
19     "~/Library/Application Support/Syntax Highlight",
20     "~/Library/Caches/com.apple.helpd/Generated/org.sbarex.SourceCodeSyntaxHighlight.help*",
21     "~/Library/Containers/org.sbarex.SourceCodeSyntaxHighlight",
22     "~/Library/Containers/org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension",
23     "~/Library/Preferences/org.sbarex.SourceCodeSyntaxHighlight.plist",
24   ]
25 end