Casks/j/juxtacode.rb
cask "juxtacode" do
version "1.1"
sha256 "8bbb1dd5fc91b11852e3ec662c3565459a08bf6f9ea66110d7c6ce951c87c90c"
url "https://appcast.juxtacode.app/juxtacode-#{version}.zip"
name "JuxtaCode"
desc "Diff, merge, and compare code"
homepage "https://juxtacode.app/"
livecheck do
url "https://appcast.juxtacode.app/juxtacode"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :sonoma"
app "JuxtaCode.app"
binary "#{appdir}/JuxtaCode.app/Contents/MacOS/juxta"
zap trash: [
"~/Library/Application Scripts/com.naiveapps.juxtacode.JuxtaCodeHighlightService",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.naiveapps.juxtacode.sfl*",
"~/Library/Caches/com.naiveapps.juxtacode",
"~/Library/Caches/SentryCrash/JuxtaCode",
"~/Library/Containers/com.naiveapps.juxtacode.JuxtaCodeHighlightService",
"~/Library/HTTPStorages/com.naiveapps.juxtacode",
"~/Library/HTTPStorages/com.naiveapps.juxtacode.binarycookies",
"~/Library/Preferences/com.naiveapps.juxtacode.JuxtaCodeLocalChangesService.plist",
"~/Library/Preferences/com.naiveapps.juxtacode.plist",
"~/Library/Saved Application State/com.naiveapps.juxtacode.savedState",
]
end