diff --git a/Casks/syntax-highlight.rb b/Casks/syntax-highlight.rb index b15da090a5..e652cc00e0 100644 --- a/Casks/syntax-highlight.rb +++ b/Casks/syntax-highlight.rb @@ -1,13 +1,24 @@ cask "syntax-highlight" do - version "1.0.b31" - sha256 "785243d13ed951b7903cf5f72f82ceebb5acd0106d52bb84d31cc6c3e3ba44a0" + version "2.0.3" + sha256 "6b46416b926941f992381bd215068fdcf503b1fddef718edad5f52f1228ae4cb" 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" + + 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*1.0", + "~Library/Containers/org.sbarex.SourceCodeSyntaxHighlight", + "~Library/Containers/org.sbarex.SourceCodeSyntaxHighlight.QuicklookExtension", + "~Library/Preferences/org.sbarex.SourceCodeSyntaxHighlight.plist", + ] end diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index 199fa2aed4..b86b4ac3d4 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -28,7 +28,6 @@ "shadowsocksx-ng-r": "all", "splitshow": "all", "steveschow-gfxcardstatus": "all", - "syntax-highlight": "all", "themeengine": "all", "toggl-track": "all", "xit": "all"