Merge pull request #155401 from Aaron-Rumpler/loopback

loopback: change livecheck to sparkle, update depends_on, update uninstall stanza, and add zap stanza
This commit is contained in:
Razvan Azamfirei
2023-09-17 15:39:31 -04:00
committed by GitHub
+12 -8
View File
@@ -8,22 +8,26 @@ cask "loopback" do
homepage "https://rogueamoeba.com/loopback/"
livecheck do
url :url
strategy :extract_plist
url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=1231&bundleid=com.rogueamoeba.Loopback&platform=osx&version=#{version.no_dots}8000"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :catalina"
depends_on macos: ">= :big_sur"
app "Loopback.app"
uninstall delete: "~/Library/LaunchAgents/com.rogueamoeba.loopbackd.plist",
quit: [
"com.rogueamoeba.Loopback",
"com.rogueamoeba.loopbackd",
]
zap trash: [
"~/Library/Application Support/Loopback",
"~/Library/Caches/com.rogueamoeba.Loopback",
"~/Library/Caches/com.rogueamoeba.loopbackd",
"~/Library/LaunchAgents/com.rogueamoeba.loopbackd.plist",
"~/Library/Preferences/com.rogueamoeba.Loopback.plist",
"~/Library/Preferences/com.rogueamoeba.loopbackd.plist",
"~/Library/Caches/com.rogueamoeba.loop*",
"~/Library/HTTPStorages/com.rogueamoeba.loop*",
"~/Library/Preferences/com.rogueamoeba.loop*.plist",
"~/Library/WebKit/com.rogueamoeba.Loopback",
]
end