30 lines
832 B
Ruby
30 lines
832 B
Ruby
cask "mosaic" do
|
|
version "1.3.3"
|
|
sha256 "445f50925a614e663e0f20e9b3eeb13691f495d7ba33fe47ecea39eca7c76126"
|
|
|
|
url "https://lightpillar.com/appdata/mosaic/archive/Mosaic_#{version.dots_to_underscores}.pkg"
|
|
name "Mosaic"
|
|
desc "Resize and reposition apps"
|
|
homepage "https://lightpillar.com/mosaic.html"
|
|
|
|
livecheck do
|
|
url "https://lightpillar.com/appdata/mosaic/features/version-history.html"
|
|
regex(/>\s*Version\s*(\d+(?:\.\d+)+)\s*</i)
|
|
end
|
|
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
pkg "Mosaic_#{version.dots_to_underscores}.pkg"
|
|
|
|
uninstall pkgutil: [
|
|
"com.btinternet.pkg.Mosaic",
|
|
"com.lightpillar.Mosaic.pkg",
|
|
]
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.lightpillar.Mosaic",
|
|
"~/Library/Caches/com.lightpillar.Mosaic",
|
|
"~/Library/Preferences/com.lightpillar.Mosaic.plist",
|
|
]
|
|
end
|