Casks/d/draw-things.rb
cask "draw-things" do
version "1.20240826.0-09b0856c"
sha256 "09b0856c3479e308ef71361f6b37a407668687021a2981972985dd64b1b15099"
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