3 sha256 "2aeb70d17289a6921018aa696c9ecb529d6c77c3cb98e1599098d8fc62106f9f"
5 url "https://github.com/kvirc/KVIrc/releases/download/#{version.csv.first}/KVIrc-#{version.csv.first}-#{version.csv.second}.dmg",
6 verified: "github.com/kvirc/KVIrc/"
9 homepage "https://www.kvirc.net/"
13 regex(/^KVIrc[._-]v?(\d+(?:\.\d+)+)[._-](\w+)\.dmg/i)
14 strategy :github_releases do |json, regex|
16 next if release["draft"] || release["prerelease"]
18 release["assets"]&.map do |asset|
19 match = asset["name"]&.match(regex)
22 "#{match[1]},#{match[2]}"
28 depends_on macos: ">= :high_sierra"
34 "~/Library/Preferences/com.kvirc.kvirc.plist",
35 "~/Library/Saved Application State/com.kvirc.kvirc.savedState",