32 lines
1.0 KiB
Ruby
32 lines
1.0 KiB
Ruby
cask "photosrevive" do
|
|
version "2.0.10,7a1415b0-7db0-4965-b7a9-0c20e462a417"
|
|
sha256 "33bb944d72d2e688635d291e3f63c8dc29d29b62cc63f7850fcafec6be9b08c7"
|
|
|
|
url "https://neededapps.nyc3.digitaloceanspaces.com/media/public/#{version.csv.second}.zip",
|
|
verified: "neededapps.nyc3.digitaloceanspaces.com"
|
|
name "PhotosRevive"
|
|
desc "Colorize old black and white photos automatically"
|
|
homepage "https://neededapps.com/photosrevive/"
|
|
|
|
livecheck do
|
|
url "https://neededapps.com/appcasts/photosrevive/changelog.xml"
|
|
strategy :sparkle do |item|
|
|
hex = item.url[%r{/([\h-]+)\.zip}i, 1]
|
|
next if hex.blank?
|
|
|
|
"#{item.short_version},#{hex}"
|
|
end
|
|
end
|
|
|
|
depends_on macos: ">= :big_sur"
|
|
|
|
app "PhotosRevive.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/PhotosRevive",
|
|
"~/Library/Caches/com.jeremyvizzini.photosrevive.macos",
|
|
"~/Library/Preferences/com.jeremyvizzini.photosrevive.macos.plist",
|
|
"~/Library/Saved Application State/com.jeremyvizzini.photosrevive.macos.savedState",
|
|
]
|
|
end
|