]> git.r.bdr.sh - rbdr/homebrew-apps/blobdiff - Casks/captura.rb
Add the livecheck
[rbdr/homebrew-apps] / Casks / captura.rb
index 94dc240587c3a690bd8cc9329a44ab16d88b7c4f..7538fa996f6730c1db260313429964ccd70403a5 100644 (file)
@@ -2,10 +2,20 @@ cask "captura" do
   version "1.1.0"
   sha256 "80823ff515beb991de6fe3b48312242b35bea3c5a9afbea213b9c9fdba08b9dc"
 
   version "1.1.0"
   sha256 "80823ff515beb991de6fe3b48312242b35bea3c5a9afbea213b9c9fdba08b9dc"
 
-  url "https://build.r.bdr.sh/captura/Captura-#{version}.dmg",
+  url "https://build.r.bdr.sh/captura/Captura-#{version}.dmg"
   name "Captura"
   desc "Record your screen and share, backend optional."
   homepage "https://captura.tranquil.systems"
 
   name "Captura"
   desc "Record your screen and share, backend optional."
   homepage "https://captura.tranquil.systems"
 
+  livecheck "https://captura.tranquil.systems/appcast.xml"
+
+  auto_updates true
+
   app "Captura.app"
   app "Captura.app"
+
+  zap trash: [
+    "~/Library/Application Scripts/pizza.unlimited.Captura",
+    "~/Library/Containers/pizza.unlimited.Captura",
+    "~/Library/Caches/pizza.unlimited.Captura"
+  ]
 end
 end