homebrew-cask/Casks/syncthing.rb

24 lines
823 B
Ruby

cask "syncthing" do
version "1.12.0-1"
sha256 "f5e50107998296d8c73d0d8c9830cb0430553486a9d90f4e3aea5a73303cb6c3"
url "https://github.com/syncthing/syncthing-macos/releases/download/v#{version}/Syncthing-#{version}.dmg",
verified: "github.com/syncthing/syncthing-macos/"
appcast "https://github.com/syncthing/syncthing-macos/releases.atom"
name "Syncthing"
desc "Real time file synchronization software"
homepage "https://syncthing.net/"
auto_updates true
depends_on macos: ">= :yosemite"
app "Syncthing.app"
zap trash: [
"~/Library/Application Support/Syncthing-macOS",
"~/Library/Caches/com.github.xor-gate.syncthing-macosx",
"~/Library/Cookies/com.github.xor-gate.syncthing-macosx.binarycookies",
"~/Library/Preferences/com.github.xor-gate.syncthing-macosx.plist",
]
end