Files
homebrew-cask/Casks/b/bingpaper.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

29 lines
901 B
Ruby

cask "bingpaper" do
version "0.11.1,46"
sha256 "29694e8ae3bea1a50719865ffe4ca19e7794b1c7dc733a2cd532056cf35641ee"
url "https://github.com/pengsrc/BingPaper/releases/download/v#{version.csv.first}/BingPaper.v#{version.csv.first}.build.#{version.csv.second}.zip"
name "BingPaper"
desc "Use the Bing daily photo as your wallpaper"
homepage "https://github.com/pengsrc/BingPaper"
depends_on macos: ">= :catalina"
app "BingPaper.app"
uninstall launchctl: "io.pjw.mac.BingPaperLoginItem",
quit: "io.pjw.mac.BingPaper"
zap rmdir: "~/Pictures/BingPaper",
trash: [
"~/Library/Application Scripts/io.pjw.mac.BingPaper",
"~/Library/Application Scripts/io.pjw.mac.BingPaperLoginItem",
"~/Library/Containers/io.pjw.mac.BingPaper",
"~/Library/Containers/io.pjw.mac.BingPaperLoginItem",
]
caveats do
discontinued
end
end