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

tpvirtual 3 (new cask) #196330

Merged
merged 1 commit into from
Dec 26, 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
23 changes: 23 additions & 0 deletions Casks/t/tpvirtual.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cask "tpvirtual" do
version "3"
sha256 "ed4126989c26c2d9b0e2b48ec454340eb3f50042797a5b4a201435d3cdf80e1f"

url "https://virtual.trainingpeaks.com/TPVirtual-Installer_v#{version}.dmg"
name "TrainingPeaks Virtual"
desc "Indoor cycling game"
homepage "https://www.trainingpeaks.com/virtual/"

livecheck do
url :homepage
regex(/href=.*?TPVirtual[._-]Installer[._-]v?(\d+(?:\.\d+)*)\.dmg/i)
end

depends_on macos: ">= :high_sierra"

app "TPVirtual-Launcher.app"

zap trash: [
"~/Library/Application Support/com.indievelo.client",
"~/Library/Application Support/com.indieVelo.launcher",
]
end
Loading