taccy: new cask

This commit is contained in:
Justin Krehel 2024-01-12 11:08:51 -05:00
parent 4d72e61120
commit cfa3fa84bb
No known key found for this signature in database
GPG Key ID: 757F1864C8CF3605
1 changed files with 32 additions and 0 deletions

32
Casks/t/taccy.rb Normal file
View File

@ -0,0 +1,32 @@
cask "taccy" do
version "1.15,2023.06"
sha256 "d5f1f00ff105007c8a64f277aa230a0caf1ea89a19e742d972f329d067afd7c3"
url "https://eclecticlightdotcom.files.wordpress.com/#{version.csv.second.major}/#{version.csv.second.minor}/#{token}#{version.csv.first.no_dots}.zip",
verified: "eclecticlightdotcom.files.wordpress.com/"
name "Taccy"
desc "Troubleshoot signature and privacy problems in applications"
homepage "https://eclecticlight.co/taccy-signet-precize-alifix-utiutility-alisma/"
livecheck do
url "https://raw.githubusercontent.com/hoakleyelc/updates/master/eclecticapps.plist"
regex(%r{/(\d+)/(\d+)/taccy(\d+)\.zip}i)
strategy :page_match do |page, regex|
page.scan(regex).map do |match|
"#{match[2].split("", 2).join(".")},#{match[0]}.#{match[1]}"
end
end
end
depends_on macos: ">= :high_sierra"
app "#{token}#{version.csv.first.no_dots}/Taccy.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/co.eclecticlight.taccy.sfl*",
"~/Library/Caches/co.eclecticlight.Taccy",
"~/Library/HTTPStorages/co.eclecticlight.Taccy",
"~/Library/Preferences/co.eclecticlight.Taccy.plist",
"~/Library/Saved Application State/co.eclecticlight.Taccy.savedState",
]
end