unetbootin: add livecheck (#97646)

This commit is contained in:
Markus Reiter 2021-01-09 18:42:37 +01:00 committed by GitHub
parent 2f56548195
commit cfcef0cde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -4,11 +4,16 @@ cask "unetbootin" do
url "https://github.com/unetbootin/unetbootin/releases/download/#{version}/unetbootin-mac-#{version}.dmg",
verified: "github.com/unetbootin/unetbootin/"
appcast "https://github.com/unetbootin/unetbootin/releases.atom"
name "UNetbootin"
desc "Tool to install Linux/BSD distributions to a partition or USB drive"
homepage "https://unetbootin.github.io/"
livecheck do
url :url
strategy :git
regex(/^(\d+(?:\.\d+)*)$/i)
end
app "unetbootin.app"
zap trash: "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.yourcompany.unetbootin.sfl*"