-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Klaus Hipp <[email protected]>
- Loading branch information
1 parent
524ebb6
commit b6c1f6f
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |