homebrew-cask/Casks/maestral.rb

24 lines
743 B
Ruby

cask "maestral" do
version "1.5.2"
sha256 "f0bfa344ebc5a0cee425c61a1848c11ff3a82ef4e9e93c14fb9643846eb19c70"
url "https://github.com/SamSchott/maestral/releases/download/v#{version}/Maestral-#{version}.dmg",
verified: "github.com/SamSchott/maestral/"
name "Maestral"
desc "Open-source Dropbox client"
homepage "https://maestral.app/"
auto_updates true
depends_on macos: ">= :high_sierra"
app "Maestral.app"
binary "#{appdir}/Maestral.app/Contents/MacOS/maestral-cli", target: "maestral"
zap trash: [
"~/Library/Application Support/maestral",
"~/Library/LaunchAgents/com.samschott.maestral.maestral.plist",
"~/Library/Logs/maestral",
"~/Library/Preferences/com.samschott.maestral.plist",
]
end