homebrew-cask/Casks/macdropany.rb

23 lines
720 B
Ruby

cask "macdropany" do
version "3.0.2"
sha256 "47c842c1d525cbe012af94c3bf82d03b74a2e1f655f2a222696897c56228e974"
url "https://github.com/sebthedev/MacDropAny/releases/download/v#{version}/MacDropAny.#{version}.zip"
name "MacDropAny"
desc "Syncs any local folder with the cloud"
homepage "https://github.com/sebthedev/MacDropAny"
# We need to check all releases, sine currently the latest release is a beta version.
livecheck do
url "https://github.com/sebthedev/MacDropAny/releases"
strategy :page_match
regex(%r{href=.*?/MacDropAny\.(\d+(?:\.\d+)*)\.zip}i)
end
depends_on macos: ">= :yosemite"
app "MacDropAny.app"
zap trash: "~/Library/Services/Sync via MacDropAny.workflow"
end