From 6ff1152dda1a9cf48b7d3729f9979017730bcb37 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Thu, 4 Jul 2024 19:24:04 +0200 Subject: [PATCH] sixtyforce: update livecheck, use versioned url --- Casks/s/sixtyforce.rb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Casks/s/sixtyforce.rb b/Casks/s/sixtyforce.rb index 6ae26f8799b7b..89c3fbf90f975 100644 --- a/Casks/s/sixtyforce.rb +++ b/Casks/s/sixtyforce.rb @@ -1,15 +1,15 @@ cask "sixtyforce" do - version "2.0.2,87" - sha256 :no_check + version "2.0.2" + sha256 "c83a2b3a194e5c62647b2be503ea331cf9e4a29baa5d5626fd63f1f9c7a7eab4" - url "https://sixtyforce.com/download/sixtyforce.zip" + url "https://sixtyforce.com/download/sixtyforce_#{version.no_dots}.zip" name "sixtyforce" desc "N64 emulator" homepage "https://sixtyforce.com/" livecheck do - url :url - strategy :extract_plist + url "https://sixtyforce.com/download/" + regex(/>\s*sixtyforce\s*v?(\d+(?:\.\d+)*)\.zip/i) end app "sixtyforce.app" @@ -20,4 +20,8 @@ "~/Library/Caches/com.Gerrit.sixtyforce", "~/Library/Preferences/com.Gerrit.sixtyforce.plist", ] + + caveats do + requires_rosetta + end end