Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devilutionx 1.5.3 #186014

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions Casks/d/devilutionx.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
cask "devilutionx" do
version "1.5.2"
sha256 "a752d7ddb26fd1d6987fbbaf9d71f7d661c650c3054667aaa7ea5fb92b47407d"
version "1.5.3"
sha256 "311f86355af67162651deabe1b55e0df6cc58fad911dc1e730658ded7255190c"

url "https://github.com/diasurgical/devilutionX/releases/download/#{version}/devilutionx-macos-x86_64.dmg"
url "https://github.com/diasurgical/devilutionX/releases/download/#{version}/devilutionx-macos-universal.dmg"
name "DevilutionX"
desc "Diablo build for modern operating systems"
homepage "https://github.com/diasurgical/devilutionX/"

livecheck do
url :url
regex(%r{/v?(\d+(?:\.\d+)+)/devilutionx[._-]macos[._-]x86_64\.dmg$}i)
regex(%r{/v?(\d+(?:\.\d+)+)/devilutionx[._-]macos[._-]universal\.dmg$}i)
strategy :github_releases do |json, regex|
json.map do |release|
next if release["draft"] || release["prerelease"]
Expand All @@ -26,15 +26,12 @@

depends_on macos: ">= :high_sierra"

app "devilutionx.app"
app "devilutionX.app"

zap trash: [
"~/Library/Application Support/CrashReporter/devilutionX_*.plist",
"~/Library/Application Support/diasurgical/devilution",
"~/Library/Saved Application State/com.diasurgical.devilutionx.savedState",
],
rmdir: "~/Library/Application Support/diasurgical"

caveats do
requires_rosetta
end
end
Loading