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