homebrew-cask/Casks/maestral.rb

23 lines
705 B
Ruby
Raw Normal View History

2021-06-29 20:12:12 +08:00
cask "maestral" do
version "1.5.1"
sha256 "b6403e1da9e6499730d0652adde94e3e9a9381b351046eaefdc8d3dba21f2e1d"
2021-06-29 20:12:12 +08:00
url "https://github.com/SamSchott/maestral/releases/download/v#{version}/Maestral-#{version}.dmg",
verified: "github.com/SamSchott/maestral/"
2021-06-29 20:12:12 +08:00
name "Maestral"
desc "Open-source Dropbox client"
homepage "https://maestral.app/"
auto_updates true
2021-06-29 20:12:12 +08:00
app "Maestral.app"
binary "#{appdir}/Maestral.app/Contents/MacOS/maestral-cli", target: "maestral"
2021-06-29 20:12:12 +08:00
zap trash: [
"~/Library/Application Support/maestral",
"~/Library/LaunchAgents/com.samschott.maestral.maestral.plist",
"~/Library/Logs/maestral",
"~/Library/Preferences/com.samschott.maestral.plist",
]
end