]> git.r.bdr.sh - rbdr/homebrew-apps/blobdiff - Casks/captura.rb
Add captura
[rbdr/homebrew-apps] / Casks / captura.rb
index 15dd4539d4a64c8d7a0117bd46c60e5c186258a6..22d1c3255074e76fde3c63327e362a32fd784381 100644 (file)
@@ -1,11 +1,24 @@
 cask "captura" do
 cask "captura" do
-  version "1.1.0"
-  sha256 "80823ff515beb991de6fe3b48312242b35bea3c5a9afbea213b9c9fdba08b9dc"
+  version "1.1.1"
+  sha256 "270d25f1c36d77b985bcbd79587e301c5eafe30ce4bc04360c3314e626472aca"
 
   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"
 
 
   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"
   app "Captura.app"
+
+  zap trash: [
+    "~/Library/Application Scripts/pizza.unlimited.Captura",
+    "~/Library/Containers/pizza.unlimited.Captura",
+    "~/Library/Caches/pizza.unlimited.Captura"
+  ]
 end
 end