33 lines
1.1 KiB
Ruby
33 lines
1.1 KiB
Ruby
cask "macupdater" do
|
|
version "2.1.2,12780"
|
|
sha256 "a6b4f0edc62c51bba437635c33638fa36fb74362ad85ef9c2c37259364d8ed66"
|
|
|
|
url "https://www.corecode.io/downloads/macupdater_#{version.csv.first}.dmg"
|
|
name "MacUpdater"
|
|
desc "Track and update to the latest versions of installed software"
|
|
homepage "https://www.corecode.io/macupdater/index.html"
|
|
|
|
livecheck do
|
|
url "https://www.corecode.io/macupdater/macupdater2.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "MacUpdater.app"
|
|
binary "#{appdir}/MacUpdater.app/Contents/Resources/macupdater_client"
|
|
|
|
uninstall quit: "com.corecode.MacUpdater",
|
|
launchctl: "com.corecode.MacUpdaterLaunchHelper"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.corecode.MacUpdaterLaunchHelper",
|
|
"~/Library/Application Support/MacUpdater",
|
|
"~/Library/Application Support/MacUpdaterInstallHelper",
|
|
"~/Library/Caches/com.corecode.MacUpdater",
|
|
"~/Library/Containers/com.corecode.MacUpdaterLaunchHelper",
|
|
"~/Library/Cookies/com.corecode.MacUpdater.binarycookies",
|
|
"~/Library/Preferences/com.corecode.MacUpdater.plist",
|
|
]
|
|
end
|