]> git.r.bdr.sh - rbdr/homebrew-apps/blobdiff - Casks/captura.rb
Add map 3.1.0
[rbdr/homebrew-apps] / Casks / captura.rb
index 94dc240587c3a690bd8cc9329a44ab16d88b7c4f..e6bed3c969cef7595d5a92d32269d6cf73614a20 100644 (file)
@@ -2,10 +2,23 @@ cask "captura" do
   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"
 
+  livecheck do
+    url "https://captura.tranquil.systems/appcast.xml"
+    strategy :sparkle, &:short_version
+  end
+
+  auto_updates true
+
   app "Captura.app"
+
+  zap trash: [
+    "~/Library/Application Scripts/pizza.unlimited.Captura",
+    "~/Library/Containers/pizza.unlimited.Captura",
+    "~/Library/Caches/pizza.unlimited.Captura"
+  ]
 end