homebrew-cask/Casks/k/kodelife.rb

28 lines
840 B
Ruby

cask "kodelife" do
version "1.1.1,175"
sha256 "ebebeb78fc18055e1e50c4253f931acf4dd551f205b8658c63b5351b710fd46e"
url "https://hexler.net/pub/kodelife/kodelife-#{version.csv.first}.#{version.csv.second}-macos.dmg"
name "KodeLife"
desc "Real-time GPU shader editor"
homepage "https://hexler.net/software/kodelife"
livecheck do
url "https://hexler.net/kodelife/appcast/macos"
strategy :sparkle
end
auto_updates true
app "KodeLife.app"
zap trash: [
"~/Library/Application Support/net.hexler.KodeLife",
"~/Library/Caches/net.hexler.KodeLife",
"~/Library/HTTPStorages/net.hexler.KodeLife*",
"~/Library/Logs/net.hexler.KodeLife",
"~/Library/Preferences/net.hexler.KodeLife.plist",
"~/Library/Saved Application State/net.hexler.KodeLife.savedState",
], rmdir: "~/Documents/KodeLife"
end