cask "odrive" do version "7372" sha256 "73d3f643deea2612ea0a1c68cf8d590390d1c8c372efa271af00b1571b6376c9" url "https://d3huse1s6vwzq6.cloudfront.net/odrivesync.#{version}.pkg", verified: "d3huse1s6vwzq6.cloudfront.net/" name "odrive" desc "Tool to make any cloud storage unified, synchronized, shareable, and encrypted" homepage "https://www.odrive.com/" livecheck do url "https://www.odrive.com/downloaddesktop?platform=mac" strategy :header_match end pkg "odrivesync.#{version}.pkg" # Should also remove ~/.odrive/bin/ on uninstall, but causes # faulty reinstall unless ~/.odrive is removed entirely. uninstall quit: "com.oxygen.odriveapp", pkgutil: "com.oxygen.odrive.*" zap trash: "~/.odrive" end