28 lines
897 B
Ruby
28 lines
897 B
Ruby
cask "seafile-client" do
|
|
version "9.0.3"
|
|
sha256 "1f3dfddd43d114ca71ae9af559fdce36f8b41ae1923f9f666be4841c46aafbbb"
|
|
|
|
url "https://download.seadrive.org/seafile-client-#{version}.dmg",
|
|
verified: "seadrive.org/"
|
|
name "Seafile Client"
|
|
desc "File syncing client"
|
|
homepage "https://www.seafile.com/"
|
|
|
|
livecheck do
|
|
url "https://www.seafile.com/en/download/"
|
|
regex(%r{href=.*?/seafile[._-]client[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Seafile Client.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.seafile.seafile-client.findersync",
|
|
"~/Library/Containers/com.seafile.seafile-client.findersync",
|
|
"~/Library/Group Containers/com.seafile.seafile-client.findersync",
|
|
"~/Library/Preferences/com.seafile.seafile-client.plist",
|
|
"~/Library/Saved Application State/com.seafile.seafile-client.savedState",
|
|
]
|
|
end
|