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

Add cask for Final Fantasy XIV #106950

Merged
merged 5 commits into from
Jul 4, 2021
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
23 changes: 23 additions & 0 deletions Casks/final-fantasy-xiv-online.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cask "final-fantasy-xiv-online" do
version "pnvdkzgk77dj10"
sha256 "a187414e0a0a101b995f08706d1bd341992258e72d535409f1136daaed413f17"

url "https://gdl.square-enix.com/ffxiv/inst/#{version}/FINAL_FANTASY_XIV_ONLINE_x64.dmg",
verified: "square-enix.com"
name "Final Fantasy XIV"
desc "Story-driven massively multiplayer online role-playing game"
homepage "https://www.finalfantasyxiv.com/"

livecheck do
url "https://na.finalfantasyxiv.com/mac/download/"
strategy :page_match
regex(%r{href="https://gdl.square-enix.com/ffxiv/inst/([^/]*)/FINAL_FANTASY_XIV_ONLINE_x64.dmg"}i)
end

auto_updates true
depends_on macos: ">= :mojave"

app "FINAL FANTASY XIV ONLINE.app"

uninstall trash: "~/Documents/My Games/FINAL FANTASY XIV - A Realm Reborn"
end