Casks/o/olympus.rb
cask "olympus" do
version "4313"
sha256 "7f2972d8019cc0d2f8a49528873542f4c5b62bdba12a94f32bc57499bf18d9cf"
url "https://dev.azure.com/EverestAPI/Olympus/_apis/build/builds/#{version}/artifacts?artifactName=macos.main&$format=zip",
verified: "dev.azure.com/EverestAPI/Olympus/_apis/build/builds/"
name "Olympus"
desc "Everest (Mod loader for video games Celeste) installer / manager"
homepage "https://everestapi.github.io/"
livecheck do
url "https://dev.azure.com/EverestAPI/Olympus/_apis/build/builds"
strategy :json do |json|
json["value"]&.map do |build|
build["id"].to_s if build["sourceBranch"] == "refs/heads/stable"
end
end
end
container nested: "macos.main/dist.zip"
app "Olympus.app"
zap trash: [
"~/Library/Application Support/Olympus",
"~/Library/Saved Application State/everest.olympus.savedState",
]
end