cask "draw-things" do version "1.20231203.0-a4a28326" sha256 "a4a28326e8b3d1805f421ac2fed6d1d2531003be19d856f6ac035f998dd00902" 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