new cask for Elephas (#137380)

* new cask for Elephas

* elephas cask incorporating style feedback and taking latest version

* Update elephas.rb

* Update elephas.rb

Co-authored-by: Miccal Matthews <miccal.matthews@gmail.com>
This commit is contained in:
Alexander Goldstein
2022-12-10 17:01:26 +08:00
committed by GitHub
co-authored by Miccal Matthews
parent 82f0a6b489
commit 35f212be22
+26
View File
@@ -0,0 +1,26 @@
cask "elephas" do
version "4.4"
sha256 :no_check
url "https://elephas.app/downloads/Elephas_latest.dmg"
name "Elephas"
desc "Personal AI Writing Assistant"
homepage "https://elephas.app/"
livecheck do
url :url
strategy :extract_plist
end
conflicts_with cask: "homebrew/cask-versions/elephas-beta"
depends_on macos: ">= :catalina"
app "Elephas.app"
zap trash: [
"~/Library/Application Support/Elephas",
"~/Library/Caches/com.kamban.elephas",
"~/Library/HTTPStorages/com.kamban.elephas",
"~/Library/Preferences/com.kamban.elephas.plist",
]
end