Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
propresenter-beta: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bevanjkay committed Oct 13, 2021
1 parent edf878b commit 4e96551
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Casks/propresenter-beta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@
homepage "https://www.renewedvision.com/propresenter.php"

livecheck do
cask "propresenter"
url "https://api.renewedvision.com/v1/pro/upgrade?platform=macos&osVersion=0&appVersion=0&buildNumber=0&includeNotes=0&channel=beta"
strategy :page_match do |page|
match = page.match(%r{/ProPresenter_(\d+(?:\.\d+)*)_(\d+)\.zip}i)
next if match.blank?

"#{match[1]},#{match[2]}"
end
end

auto_updates true
Expand Down

0 comments on commit 4e96551

Please sign in to comment.