Casks/m/maestral.rb
cask "maestral" do
version "1.9.3"
sha256 "79f3c0603e04fcc8762feb593349a76063f561ef5feb8d62060fbc862664aa40"
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/"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Maestral.app"
binary "#{appdir}/Maestral.app/Contents/MacOS/maestral-cli", target: "maestral"
uninstall quit: "com.samschott.maestral"
zap trash: [
"~/Library/Application Support/maestral",
"~/Library/LaunchAgents/com.samschott.maestral.maestral.plist",
"~/Library/Logs/maestral",
"~/Library/Preferences/com.samschott.maestral.plist",
]
end