Casks/s/syntax-highlight.rb
cask "syntax-highlight" do
version "2.1.24"
sha256 "31adcab045b69ad55eb0f47b4d0cb1c45f18dcf00e3391b8f32e15eeef7f97b9"
url "https://github.com/sbarex/SourceCodeSyntaxHighlight/releases/download/#{version}/Syntax.Highlight.zip"
name "Syntax Highlight"
desc "Quicklook extension for source files"
homepage "https://github.com/sbarex/SourceCodeSyntaxHighlight"
auto_updates true
depends_on macos: ">= :catalina"
app "Syntax Highlight.app"
binary "#{appdir}/Syntax Highlight.app/Contents/Resources/syntax_highlight_cli"
zap trash: [
"~/Library/Application Scripts/org.sbarex.SourceCodeSyntaxHighlight",
"~/Library/Application Scripts/org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension",
"~/Library/Application Support/Syntax Highlight",
"~/Library/Caches/com.apple.helpd/Generated/org.sbarex.SourceCodeSyntaxHighlight.help*",
"~/Library/Containers/org.sbarex.SourceCodeSyntaxHighlight",
"~/Library/Containers/org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension",
"~/Library/Preferences/org.sbarex.SourceCodeSyntaxHighlight.plist",
]
end