From cfa3fa84bb9ceed4fe016d0eadcf5e0061cd7987 Mon Sep 17 00:00:00 2001 From: Justin Krehel <39449589+krehel@users.noreply.github.com> Date: Fri, 12 Jan 2024 11:08:51 -0500 Subject: [PATCH] taccy: new cask --- Casks/t/taccy.rb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Casks/t/taccy.rb diff --git a/Casks/t/taccy.rb b/Casks/t/taccy.rb new file mode 100644 index 0000000000..600d5e4c58 --- /dev/null +++ b/Casks/t/taccy.rb @@ -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