cask "syncthing-app" do version "1.29.7-1" sha256 "1cd53124691bbbe54263cdd970bc572612c3598147b4047a93363ec41d4e3230" url "https://github.com/syncthing/syncthing-macos/releases/download/v#{version}/Syncthing-#{version}.dmg", verified: "github.com/syncthing/syncthing-macos/" name "Syncthing" desc "Real time file synchronisation software" homepage "https://syncthing.net/" livecheck do url "https://upgrades.syncthing.net/syncthing-macos/appcast.xml" strategy :sparkle do |item| item.short_version.delete_prefix("v") end end auto_updates true depends_on macos: ">= :big_sur" 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