From cd577427e8a6ba3b882545d03efcc7a837a1c766 Mon Sep 17 00:00:00 2001 From: Dark-detsixE Date: Mon, 25 Mar 2024 18:04:50 +0800 Subject: [PATCH 1/8] idafree 8.4 --- Casks/i/idafree.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index 627024521672..6ab83d688760 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -1,9 +1,9 @@ cask "idafree" do arch arm: "arm_" - version "8.3" - sha256 arm: "52fd0726640f3f5697e657d074f363c147a97b46781955339fb63fef547c8992", - intel: "e1c679dbf6518c4b25d86d84572aa215c998281d4f61b99affa65a9583c0ee11" + version "8.4" + sha256 arm: "75b806df3a3be1268fa079fb3b1e0bfbaf3340ee2712f9a2eb33fca0e2c19c83", + intel: "d5fb5cc4443c85a692503c59654b46910d92d5dcbd68c893c12c1ba8c0ea2729" url "https://out7.hex-rays.com/files/#{arch}idafree#{version.no_dots}_mac.app.zip" name "IDA Free" From 894d56d4702bdefe3db3988a5d0ddf5c8779c0eb Mon Sep 17 00:00:00 2001 From: Dark-detsixE Date: Mon, 25 Mar 2024 19:05:41 +0800 Subject: [PATCH 2/8] Update idafree.rb update livecheck --- Casks/i/idafree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index 6ab83d688760..a1ba61bfa8c1 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -12,7 +12,7 @@ livecheck do url :homepage - regex(/>.*?IDA\s*v?(\d+(?:\.\d+)+).*?= :catalina" From b965c69dc5cb90377f22c59bc04c01295872fc65 Mon Sep 17 00:00:00 2001 From: Dark-detsixE Date: Mon, 25 Mar 2024 19:45:23 +0800 Subject: [PATCH 3/8] fix: livecheck --- Casks/i/idafree.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index a1ba61bfa8c1..6acb8b4df215 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -1,7 +1,7 @@ cask "idafree" do arch arm: "arm_" - version "8.4" + version " 8.4.240320" sha256 arm: "75b806df3a3be1268fa079fb3b1e0bfbaf3340ee2712f9a2eb33fca0e2c19c83", intel: "d5fb5cc4443c85a692503c59654b46910d92d5dcbd68c893c12c1ba8c0ea2729" @@ -12,7 +12,7 @@ livecheck do url :homepage - regex(.*?v?(\d+(?:\.\d+)+).*?= :catalina" From 3d4a38a7992baa367bc3c48c6531dda0f068fe37 Mon Sep 17 00:00:00 2001 From: Dark-detsixE Date: Mon, 25 Mar 2024 19:51:56 +0800 Subject: [PATCH 4/8] idafree 8.4.240320 --- Casks/i/idafree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index 6acb8b4df215..c0b1b11d8d3b 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -1,7 +1,7 @@ cask "idafree" do arch arm: "arm_" - version " 8.4.240320" + version "8.4.240320" sha256 arm: "75b806df3a3be1268fa079fb3b1e0bfbaf3340ee2712f9a2eb33fca0e2c19c83", intel: "d5fb5cc4443c85a692503c59654b46910d92d5dcbd68c893c12c1ba8c0ea2729" From ad1337022f97946e7913f049ba0e4eed3649b154 Mon Sep 17 00:00:00 2001 From: Dark-detsixE Date: Mon, 25 Mar 2024 19:59:01 +0800 Subject: [PATCH 5/8] idafree 8.4 update the livecheck from top banner --- Casks/i/idafree.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index c0b1b11d8d3b..b7930fb1be92 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -1,7 +1,7 @@ cask "idafree" do arch arm: "arm_" - version "8.4.240320" + version "8.4" sha256 arm: "75b806df3a3be1268fa079fb3b1e0bfbaf3340ee2712f9a2eb33fca0e2c19c83", intel: "d5fb5cc4443c85a692503c59654b46910d92d5dcbd68c893c12c1ba8c0ea2729" @@ -12,7 +12,7 @@ livecheck do url :homepage - regex(/>.*?v?(\d+(?:\.\d+)+).*?.*?v?(\d+(?:\.\d+)).*?<\/a/i) end depends_on macos: ">= :catalina" From b1f3967b04d7271c990c0d3bc009e471987e71a7 Mon Sep 17 00:00:00 2001 From: Dark-detsixE Date: Mon, 25 Mar 2024 20:15:43 +0800 Subject: [PATCH 6/8] idafree 8.4 --- Casks/i/idafree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index b7930fb1be92..ba5fefe2b9d2 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -12,7 +12,7 @@ livecheck do url :homepage - regex(/>.*?v?(\d+(?:\.\d+)).*?<\/a/i) + regex(/>.*?v?(\d+(?:\.\d+)).*?= :catalina" From dbda5abe35e49ad9f4ab7c753ff7e91d54e6a741 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Tue, 2 Apr 2024 08:21:07 -0400 Subject: [PATCH 7/8] idafree: update livecheck --- Casks/i/idafree.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index ba5fefe2b9d2..38c277e25f6c 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -11,8 +11,8 @@ homepage "https://hex-rays.com/ida-free/" livecheck do - url :homepage - regex(/>.*?v?(\d+(?:\.\d+)).*?\s*IDA\s*v?(\d+(?:\.\d+)+)[^<]*?= :catalina" From 81fb1768dd03543daa43b471b01d51fc54d50eea Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Tue, 2 Apr 2024 08:28:36 -0400 Subject: [PATCH 8/8] idafree: update version format --- Casks/i/idafree.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Casks/i/idafree.rb b/Casks/i/idafree.rb index 38c277e25f6c..265c33375b42 100644 --- a/Casks/i/idafree.rb +++ b/Casks/i/idafree.rb @@ -1,11 +1,11 @@ cask "idafree" do arch arm: "arm_" - version "8.4" + version "8.4.240320" sha256 arm: "75b806df3a3be1268fa079fb3b1e0bfbaf3340ee2712f9a2eb33fca0e2c19c83", intel: "d5fb5cc4443c85a692503c59654b46910d92d5dcbd68c893c12c1ba8c0ea2729" - url "https://out7.hex-rays.com/files/#{arch}idafree#{version.no_dots}_mac.app.zip" + url "https://out7.hex-rays.com/files/#{arch}idafree#{version.major_minor.no_dots}_mac.app.zip" name "IDA Free" desc "Binary code analysis tool" homepage "https://hex-rays.com/ida-free/" @@ -18,12 +18,12 @@ depends_on macos: ">= :catalina" installer script: { - executable: "#{arch}idafree#{version.no_dots}_mac.app/Contents/MacOS/installbuilder.sh", + executable: "#{arch}idafree#{version.major_minor.no_dots}_mac.app/Contents/MacOS/installbuilder.sh", args: ["--mode", "unattended", "--installpassword", ""], } uninstall script: { - executable: "/Applications/IDA Freeware #{version}/uninstall.app/Contents/MacOS/installbuilder.sh", + executable: "/Applications/IDA Freeware #{version.major_minor}/uninstall.app/Contents/MacOS/installbuilder.sh", args: ["--mode", "unattended"], sudo: true, }