Files
homebrew-cask/Casks/g/ghosttile.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

25 lines
819 B
Ruby

cask "ghosttile" do
version "15,15,1510040474"
sha256 "6f723c7489a272a82648a3fb2a4ad0f91f6bd3d79eea748ea20a046a3aefe0ab"
url "https://dl.devmate.com/im.kernelpanic.GhostTile/#{version.csv.second}/#{version.csv.third}/GhostTile-#{version.csv.first}.zip",
verified: "dl.devmate.com/im.kernelpanic.GhostTile/"
name "Kernelpanic GhostTile"
name "GhostTile"
desc "Hide your running applications from Dock"
homepage "https://ghosttile.kernelpanic.im/"
livecheck do
url "https://updates.devmate.com/im.kernelpanic.GhostTile.xml"
regex(%r{/(\d+)/GhostTile\d*?[_-]v?(\d+(?:\.\d+)*)\.(?:dmg|zip)}i)
strategy :sparkle do |item, regex|
match = item.url.match(regex)
next if match.blank?
"#{item.short_version},#{match[2]},#{match[1]}"
end
end
app "GhostTile.app"
end