Skip to content

Commit

Permalink
tpvirtual 3 (new cask)
Browse files Browse the repository at this point in the history
Co-authored-by: Klaus Hipp <[email protected]>
  • Loading branch information
shivangp76 and khipp committed Dec 25, 2024
1 parent 524ebb6 commit b6c1f6f
Showing 1 changed file with 23 additions and 0 deletions.
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

0 comments on commit b6c1f6f

Please sign in to comment.