diff --git a/Casks/r/rode-central.rb b/Casks/r/rode-central.rb new file mode 100644 index 0000000000..5890c12929 --- /dev/null +++ b/Casks/r/rode-central.rb @@ -0,0 +1,27 @@ +cask "rode-central" do + version "2.0.39" + sha256 :no_check + + url "https://update.rode.com/central/RODE_Central_MACOS.zip" + name "Rode Central" + desc "RØDE companion app" + homepage "https://rode.com/en/apps/rode-central" + + livecheck do + url "https://update.rode.com/rode-devices-manifest.json" + strategy :json do |json| + json["rode-central-manifest"]["macos"]["main-version"]["update-version"] + end + end + + depends_on macos: ">= :catalina" + + pkg "RØDE Central Installer (#{version}).pkg" + + uninstall pkgutil: "com.rodecentral.installer" + + zap trash: [ + "~/Library/Caches/com.rode.rodecentral", + "~/Library/HTTPStorages/com.rode.rodecentral", + ] +end