homebrew-cask/Casks/odrive.rb

22 lines
690 B
Ruby

cask "odrive" do
version "7201"
sha256 "43b449e6998c1c7ebaf13052b1dd0dc3ba742a7af14736f3b86be754eac04087"
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
# https://docs.odrive.com/docs/odrive-usage-guide#install-desktop-sync
url "https://www.odrive.com/downloaddesktop?platform=mac"
strategy :header_match
end
pkg "odrivesync.#{version}.pkg"
uninstall quit: "com.oxygencloud.odrive",
pkgutil: "com.oxygen.odrive.*"
end