homebrew-cask/Casks/odrive.rb

24 lines
701 B
Ruby

cask "odrive" do
version "6931"
sha256 "2014d431480e849eaf1f941e893d3214c30bd86a913b8c1e84dedc572637abaa"
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