Skip to content

Commit

Permalink
Add cask for Final Fantasy XIV (#106950)
Browse files Browse the repository at this point in the history
* Add cask for Final Fantasy XIV

* final-fantasy-xiv: Fix CI audit issues for homepage and livecheck

* Poking CI

* Revert "Poking CI"

This reverts commit ca81e06.

* Update and rename final-fantasy-xiv.rb to final-fantasy-xiv-online.rb

Co-authored-by: Vítor Galvão <[email protected]>
  • Loading branch information
stevestreza and vitorgalvao authored Jul 4, 2021
1 parent 45e9c3d commit bc7d90d
Showing 1 changed file with 23 additions and 0 deletions.
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

0 comments on commit bc7d90d

Please sign in to comment.