From 07abd23e4cc2a709c152e8a538032100710874b2 Mon Sep 17 00:00:00 2001 From: someposer Date: Fri, 26 Apr 2024 14:36:43 -0500 Subject: [PATCH 1/5] anything-llm 1.5.1 (new cask) --- Casks/a/anything-llm.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Casks/a/anything-llm.rb diff --git a/Casks/a/anything-llm.rb b/Casks/a/anything-llm.rb new file mode 100644 index 0000000000000..062e6181b02e8 --- /dev/null +++ b/Casks/a/anything-llm.rb @@ -0,0 +1,23 @@ +cask "anything-llm" do + arch arm: "aarch64", intel: "x86-64" + suffix = on_arch_conditional arm: "-Silicon", intel: "" + + version "1.5.1" + sha256 arm: "ea8c93b3684cd01d85d90d893b9f7fb573629d0713cd3478801280395b1fb03a", + intel: "ffb42c44c14af7ffc4e326a08124f714a5665aa13f0361eb65c6596af4b3d7a0" + + url "https://s3.us-west-1.amazonaws.com/public.useanything.com/latest/AnythingLLMDesktop#{suffix}.dmg", + verified: "s3.us-west-1.amazonaws.com/public.useanything.com/" + name "AnythingLLM" + desc "All-in-one Desktop application with full RAG and AI Agent capabilities" + homepage "https://useanything.com/" + + livecheck do + url "https://s3.us-west-1.amazonaws.com/public.useanything.com/latest/version.txt" + regex(/(\d+(?:\.\d+)+)/i) + end + + app "AnythingLLM.app" + + zap trash: "~/Library/Application Support/anythingllm-desktop" +end From 7b6f3167f5c5b016e96e7766ae7e9e98e8d51f58 Mon Sep 17 00:00:00 2001 From: someposer Date: Fri, 26 Apr 2024 15:35:12 -0500 Subject: [PATCH 2/5] adding macos dependency --- Casks/a/anything-llm.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Casks/a/anything-llm.rb b/Casks/a/anything-llm.rb index 062e6181b02e8..5291ca4e1ab8d 100644 --- a/Casks/a/anything-llm.rb +++ b/Casks/a/anything-llm.rb @@ -17,6 +17,8 @@ regex(/(\d+(?:\.\d+)+)/i) end + depends_on macos: ">= :monterey" + app "AnythingLLM.app" zap trash: "~/Library/Application Support/anythingllm-desktop" From dac96d7677efa6a9d5dba4e0a55032fd807e4e4e Mon Sep 17 00:00:00 2001 From: someposer Date: Fri, 26 Apr 2024 15:44:32 -0500 Subject: [PATCH 3/5] changing min macos to high_sierra --- Casks/a/anything-llm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/a/anything-llm.rb b/Casks/a/anything-llm.rb index 5291ca4e1ab8d..9d1c66248a072 100644 --- a/Casks/a/anything-llm.rb +++ b/Casks/a/anything-llm.rb @@ -17,7 +17,7 @@ regex(/(\d+(?:\.\d+)+)/i) end - depends_on macos: ">= :monterey" + depends_on macos: ">= :high_sierra" app "AnythingLLM.app" From 923f2383952ba94c40dc1a8e97237432d4e0404f Mon Sep 17 00:00:00 2001 From: someposer Date: Mon, 29 Apr 2024 11:12:29 -0500 Subject: [PATCH 4/5] Cleaned up arch variables and description --- Casks/a/anything-llm.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Casks/a/anything-llm.rb b/Casks/a/anything-llm.rb index 9d1c66248a072..74de492da5c26 100644 --- a/Casks/a/anything-llm.rb +++ b/Casks/a/anything-llm.rb @@ -1,15 +1,14 @@ cask "anything-llm" do - arch arm: "aarch64", intel: "x86-64" - suffix = on_arch_conditional arm: "-Silicon", intel: "" + arch arm: "-Silicon" version "1.5.1" sha256 arm: "ea8c93b3684cd01d85d90d893b9f7fb573629d0713cd3478801280395b1fb03a", intel: "ffb42c44c14af7ffc4e326a08124f714a5665aa13f0361eb65c6596af4b3d7a0" - url "https://s3.us-west-1.amazonaws.com/public.useanything.com/latest/AnythingLLMDesktop#{suffix}.dmg", + url "https://s3.us-west-1.amazonaws.com/public.useanything.com/latest/AnythingLLMDesktop#{arch}.dmg", verified: "s3.us-west-1.amazonaws.com/public.useanything.com/" name "AnythingLLM" - desc "All-in-one Desktop application with full RAG and AI Agent capabilities" + desc "Private desktop AI chat application" homepage "https://useanything.com/" livecheck do From 8f9347a412ede9937ebfa9b5cd2e9ca7107bcebd Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Tue, 30 Apr 2024 05:16:12 +0800 Subject: [PATCH 5/5] Update and rename anything-llm.rb to anythingllm.rb --- Casks/a/{anything-llm.rb => anythingllm.rb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Casks/a/{anything-llm.rb => anythingllm.rb} (97%) diff --git a/Casks/a/anything-llm.rb b/Casks/a/anythingllm.rb similarity index 97% rename from Casks/a/anything-llm.rb rename to Casks/a/anythingllm.rb index 74de492da5c26..5eaa36f4e32b7 100644 --- a/Casks/a/anything-llm.rb +++ b/Casks/a/anythingllm.rb @@ -1,4 +1,4 @@ -cask "anything-llm" do +cask "anythingllm" do arch arm: "-Silicon" version "1.5.1"