Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anythingllm 1.5.1 (new cask) #172271

Merged
merged 5 commits into from Apr 30, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 25 additions & 0 deletions Casks/a/anything-llm.rb
@@ -0,0 +1,25 @@
cask "anything-llm" do
arch arm: "aarch64", intel: "x86-64"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't look like these variables are used anywhere?
You should use the arch to define the variables in currently in suffix.
Also note that you can simply omit the intel conditional, as it will default to an empty string.

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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try to provide an alternative that meets the desc stanza guidelines?

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

depends_on macos: ">= :high_sierra"

app "AnythingLLM.app"

zap trash: "~/Library/Application Support/anythingllm-desktop"
end