From 91ff3dd8c2e2942a94ae76884f1d6c1efcbb2000 Mon Sep 17 00:00:00 2001 From: Valentine Briese Date: Sun, 19 Nov 2023 00:40:47 -0800 Subject: [PATCH] modrinth: update to 0.6.1, add auto_updates, add minimum OS version --- Casks/m/modrinth.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Casks/m/modrinth.rb b/Casks/m/modrinth.rb index 54c9ab251d..7a45b199c3 100644 --- a/Casks/m/modrinth.rb +++ b/Casks/m/modrinth.rb @@ -1,6 +1,6 @@ cask "modrinth" do - version "0.6.0" - sha256 "d6c7ba3653ec371ced46029dcc1b8ac8077e8baedac985459db8d83d058258ba" + version "0.6.1" + sha256 "abec8fb44965c3bdeba7583b59215b17a45eda1a5c6737e478298c678a27880f" url "https://launcher-files.modrinth.com/versions/#{version}/macos/Modrinth%20App_#{version}_universal.dmg" name "Modrinth App" @@ -12,6 +12,9 @@ cask "modrinth" do regex(/Modrinth%20App[._-]v?(\d+(?:\.\d+)+)[._-]universal\.dmg/i) end + auto_updates true + depends_on macos: ">= :high_sierra" + app "Modrinth App.app" uninstall quit: "com.modrinth.theseus"