homebrew-cask/Casks/v/valkyrie.rb

24 lines
726 B
Ruby

cask "valkyrie" do
version "2.5.7"
sha256 "e667934e6ee3f27d3f81591b830d2be4513c8997f54f5312be56917c0697ce75"
url "https://github.com/NPBruce/valkyrie/releases/download/release/#{version.major_minor}/v#{version}/valkyrie-macos-#{version}.tar.gz",
verified: "github.com/NPBruce/valkyrie/"
name "Valkyrie"
desc "Game Master for Fantasy Flight board games"
homepage "https://npbruce.github.io/valkyrie/"
livecheck do
url :url
regex(%r{/v(\d+(?:\.\d+)+)$}i)
end
app "Valkyrie.app"
zap trash: [
"~/Library/Application Support/CrashReporter/Valkyrie_*.plist",
"~/Library/Preferences/unity.NA.Valkyrie.plist",
"~/Library/Saved Application State/unity.NA.Valkyrie.savedState",
]
end