mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
cardo-update: fixes
* Update name and desc * Fix `version` * Add `livecheck` * Add `requires_rosetta`
This commit is contained in:
+13
-4
@@ -1,18 +1,27 @@
|
||||
cask "cardo-update" do
|
||||
version :latest
|
||||
version "4.2.0.30204"
|
||||
sha256 :no_check
|
||||
|
||||
url "https://update.cardosystems.com/cardo-app/cardo_updater_macOS_latest.pkg"
|
||||
name "Cardo Update - firmware update tool for PACKTALK and FREECOM unit lines"
|
||||
desc "Software to update Packtalk and Freecom motorcycle intercom's"
|
||||
name "Firmware update tool for PACKTALK and FREECOM unit lines"
|
||||
desc "Update Packtalk and Freecom motorcycle intercoms"
|
||||
homepage "https://www.cardosystems.com/download-cardo-updater/"
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
strategy :extract_plist
|
||||
end
|
||||
|
||||
pkg "cardo_updater_macOS_latest.pkg"
|
||||
|
||||
uninstall quit: "com.cardo.fwupdater",
|
||||
pkgutil: "com.cardo.fwupdater"
|
||||
|
||||
zap rmdir: [
|
||||
zap trash: [
|
||||
"~/Library/Application Support/Cardo Update",
|
||||
]
|
||||
|
||||
caveats do
|
||||
requires_rosetta
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user