cask "amore" do version "0.1,49" sha256 "4d01ca815d0bc44862abab1a4469ee3bfa43fe8dbefb3b5d5f3ac5958c898ebe" url "https://cdn.amore.computer/releases/com.lucas-fischer.Amore/#{version.csv.first}-#{version.csv.second}/Amore.dmg" name "Amore" desc "App distribution platform with Sparkle, code signing, and notarization" homepage "https://amore.computer/" livecheck do url "https://api.amore.computer/v1/apps/com.lucas-fischer.Amore/appcast.xml" strategy :sparkle do |items| items.find { |item| item.channel.nil? }&.nice_version end end auto_updates true depends_on macos: :sequoia app "Amore.app" binary "#{appdir}/Amore.app/Contents/MacOS/AmoreCLI", target: "amore" zap trash: [ "~/Library/Application Support/Amore", "~/Library/Caches/com.lucas-fischer.Amore", "~/Library/HTTPStorages/com.lucas-fischer.Amore", "~/Library/Preferences/com.lucas-fischer.Amore.plist", "~/Library/WebKit/com.lucas-fischer.Amore", ] end