diff --git a/Casks/unetbootin.rb b/Casks/unetbootin.rb index 84e95f9377c..01688046d61 100644 --- a/Casks/unetbootin.rb +++ b/Casks/unetbootin.rb @@ -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*"