Merge pull request #159159 from aaronraimist/metamer

Add Metamer.app v1.3
This commit is contained in:
Bevan Kay
2023-11-02 14:09:04 +11:00
committed by GitHub
+31
View File
@@ -0,0 +1,31 @@
cask "metamer" do
version "1.3,2023.10"
sha256 "51048edebae6880aea67cb15ae5274a21f4fb0ebda4442cf149b9e1b3733f9a4"
url "https://eclecticlightdotcom.files.wordpress.com/#{version.csv.second.major}/#{version.csv.second.minor}/metamer#{version.csv.first.no_dots}.zip",
verified: "eclecticlightdotcom.files.wordpress.com/"
name "Metamer"
desc "Accessible metadata editor for 16 Spotlight extended attributes"
homepage "https://eclecticlight.co/xattred-sandstrip-xattr-tools/"
livecheck do
url "https://raw.githubusercontent.com/hoakleyelc/updates/master/eclecticapps.plist"
strategy :page_match do |page|
match = page.match(%r{(\d+)/(\d+)/metamer(\d+)\.zip}i)
next if match.blank?
"#{match[3].split("", 2).join(".")},#{match[1]}.#{match[2]}"
end
end
depends_on macos: ">= :mojave"
app "metamer#{version.csv.first.no_dots}/Metamer.app"
zap trash: [
"~/Library/Caches/co.eclecticlight.Metamer/",
"~/Library/HTTPStorages/co.eclecticlight.Metamer/",
"~/Library/Preferences/co.eclecticlight.Metamer.plist",
"~/Library/Saved Application State/co.eclecticlight.Metamer.savedState/",
]
end