diff --git a/Casks/profilecreator.rb b/Casks/profilecreator.rb index f75cc76d84..09c29d90e5 100644 --- a/Casks/profilecreator.rb +++ b/Casks/profilecreator.rb @@ -3,10 +3,17 @@ cask "profilecreator" do sha256 "a4a1b45bfaa6bc83aac7ef532981aaa0c807cd17fbfb1f157980144e5d309aea" url "https://github.com/erikberglund/ProfileCreator/releases/download/v#{version.before_comma}/ProfileCreator_v#{version.before_comma}-#{version.after_comma}.dmg" - appcast "https://github.com/erikberglund/ProfileCreator/releases.atom" name "ProfileCreator" homepage "https://github.com/erikberglund/ProfileCreator" + livecheck do + url :url + strategy :github_latest do |page| + match = page.match(%r{href=.*?/ProfileCreator_v(\d+(?:\.\d+)*)-(.*?)\.dmg}i) + "#{match[1]},#{match[2]}" + end + end + depends_on macos: ">= :sierra" app "ProfileCreator.app" diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index f2505ae212..a2b7a32846 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -17,6 +17,7 @@ "my-budget": "all", "nuclear": "all", "pock": "all", + "profilecreator": "all", "syntax-highlight": "all", "toggl-track": "all", "xit": "all"