diff --git a/Casks/s/shattered-pixel-dungeon.rb b/Casks/s/shattered-pixel-dungeon.rb new file mode 100644 index 0000000000..6d58a9e182 --- /dev/null +++ b/Casks/s/shattered-pixel-dungeon.rb @@ -0,0 +1,24 @@ +cask "shattered-pixel-dungeon" do + version "2.1.4" + sha256 "1c4611f2804eefe80e9f8a6a69ea03b67e462a848c3504146379c313b3635b4d" + + url "https://github.com/00-Evan/shattered-pixel-dungeon/releases/download/v#{version}/ShatteredPD-v#{version}-macOS.zip", + verified: "github.com/00-Evan/shattered-pixel-dungeon/" + name "Shattered Pixel Dungeon" + desc "Traditional roguelike dungeon crawler with randomised levels, enemies and items" + homepage "https://shatteredpixel.com/shatteredpd" + + livecheck do + url :url + strategy :github_latest + end + + auto_updates true + + app "Shattered Pixel Dungeon.app" + + zap trash: [ + "~/Library/Application Support/Shattered Pixel Dungeon", + "~/Library/Saved Application State/com.shatteredpixel.shatteredpixeldungeon.apple.savedState", + ] +end