Skip to content

Commit

Permalink
Merge pull request #195519 from zyoshoka/rewind-update-url-and-add-un…
Browse files Browse the repository at this point in the history
…install-items

rewind: update url and add uninstall items
  • Loading branch information
p-linnane authored Dec 26, 2024
2 parents c6d9380 + ee20ac5 commit 719e424
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions Casks/r/rewind.rb
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
cask "rewind" do
version "15310.1,5f6bcc5"
sha256 "cc422c5f1aff54b2948efb32f479ec1054f5eafb2b37d540511d226792e73318"
version "1.5310,15310.1"
sha256 :no_check

url "https://updates.rewind.ai/builds/main/b#{version.csv.first}-main-#{version.csv.second}.zip"
url "https://download.rewind.ai/Rewind.dmg"
name "Rewind"
desc "Record and search your screen and audio"
homepage "https://www.rewind.ai/"

livecheck do
url "https://updates.rewind.ai/appcasts/main.xml"
regex(/[._-](\w+)\.zip/i)
strategy :sparkle do |item, regex|
match = item.url.match(regex)
next if match.blank?

"#{item.version},#{match[1]}"
end
url :url
strategy :extract_plist
end

auto_updates true
depends_on macos: ">= :monterey"

app "Rewind.app"

uninstall quit: "com.memoryvault.MemoryVault"
uninstall launchctl: "com.rewind.Rewind",
quit: "com.memoryvault.MemoryVault",
login_item: "Rewind"

zap trash: [
"~/Documents/rewind_logs_*.zip",
Expand Down

0 comments on commit 719e424

Please sign in to comment.