cask "soulver" do version "3.4.14,181" sha256 "c755c24fdf7b0d971be42f678a9f1fa7e33a8313199414a2bb8aaa9de18d38e6" url "https://soulver.app/mac/sparkle/soulver-#{version.before_comma}-#{version.after_comma}.zip" name "Soulver" desc "Notepad with a built-in calculator" homepage "https://soulver.app/" livecheck do url "https://soulver.app/mac/sparkle/appcast.xml" strategy :sparkle end auto_updates true depends_on macos: ">= :mojave" app "Soulver #{version.major}.app" zap trash: [ "~/Library/Application Support/Soulver 3", "~/Library/Application Support/app.soulver.mac", "~/Library/Preferences/app.soulver.mac.plist", "~/Library/Caches/app.soulver.mac", "~/Library/Containers/app.soulver.mac.QuicklookInSpotlight", "~/Library/Group Containers/group.app.soulver", "~/Library/HTTPStorages/app.soulver.mac.binarycookies", "~/Library/Application Scripts/app.soulver.mac.QuicklookInSpotlight", "~/Library/Saved Application State/app.soulver.mac.savedState", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.soulver.mac.sfl2", ] end