homebrew-cask/Casks/d/draw-things.rb

22 lines
565 B
Ruby

cask "draw-things" do
version "1.20230915.1-a84d14a5"
sha256 "a84d14a5b92ba2c024fa7cf94d9466fed1c1056f577f6e122077e2dd027879e5"
url "https://static.drawthings.ai/DrawThings-#{version}.zip"
name "Draw Things"
desc "Run Stable Diffusion locally"
homepage "https://drawthings.ai/"
livecheck do
url :homepage
regex(/href=.*?DrawThings[._-]v?(\d+(?:\.\d+)+(?:-[\da-f]*)?)\.zip/i)
end
app "Draw Things.app"
zap trash: [
"~/Library/Application Scripts/com.liuliu.draw-things",
"~/Library/Containers/com.liuliu.draw-things",
]
end