From 5f5427995e072173e56bb66777286385a36bccc8 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Fri, 3 Jan 2025 18:11:16 +0100 Subject: [PATCH] internxt-drive 2.5.1.70 --- Casks/i/internxt-drive.rb | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/Casks/i/internxt-drive.rb b/Casks/i/internxt-drive.rb index f051ea5852ac..9f09cba43694 100644 --- a/Casks/i/internxt-drive.rb +++ b/Casks/i/internxt-drive.rb @@ -1,37 +1,20 @@ cask "internxt-drive" do - arch arm: "-arm64" + version "2.5.1.70" + sha256 "2c379bd18e5a466738613fdb7520f73333597dbf40c413a35502b2193317961c" - version "2.0.0" - sha256 arm: "22d8076850f6834cbf3c22d07dcc9e916478c1ce8464464827e55fbcac7c2788", - intel: "0a218560e645a99d65c052597ab125a148c93827bf27b5c2060213c6127418e5" - - url "https://github.com/internxt/drive-desktop/releases/download/v#{version}/internxt-drive-#{version}#{arch}.dmg", - verified: "github.com/internxt/drive-desktop/" + url "https://github.com/internxt/drive-desktop-macos/releases/download/v#{version}/Internxt_Drive_#{version}.dmg", + verified: "github.com/internxt/drive-desktop-macos/" name "Internxt Drive" desc "Client for Internxt file storage service" homepage "https://internxt.com/drive" - # Not every GitHub release provides a file for macOS, so we check multiple - # recent releases instead of only the "latest" release. livecheck do url :url - regex(/^Internxt[._-]Drive[._-]v?(\d+(?:\.\d+)+)#{arch}\.dmg$/i) - strategy :github_releases do |json, regex| - json.map do |release| - next if release["draft"] || release["prerelease"] - - release["assets"]&.map do |asset| - match = asset["name"]&.match(regex) - next if match.blank? - - match[1] - end - end.flatten - end + strategy :github_latest end auto_updates true - depends_on macos: ">= :high_sierra" + depends_on macos: ">= :big_sur" app "Internxt Drive.app"