onedrive: add livecheck (#96889)

This commit is contained in:
Markus Reiter 2020-12-25 16:21:16 +01:00 committed by GitHub
parent e8dbc7a38e
commit f3111e0eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -4,11 +4,15 @@ cask "onedrive" do
url "https://oneclient.sfx.ms/Mac/Direct/#{version}/OneDrive.pkg",
verified: "oneclient.sfx.ms/Mac/Direct/"
appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://go.microsoft.com/fwlink/?linkid=823060"
name "OneDrive"
desc "Cloud storage client"
homepage "https://onedrive.live.com/"
livecheck do
url "https://go.microsoft.com/fwlink/?linkid=823060"
strategy :header_match
end
auto_updates true
conflicts_with cask: "microsoft-office"
depends_on macos: ">= :sierra"