cask "textsniper" do version "1.11" sha256 "421d1c615bc920943c73e6e4d61f99c08737cb5e477fe1d75598ad447ba86e2a" url "https://s3.amazonaws.com/textsniper.app/Gumroad/TextSniper#{version}.dmg", verified: "s3.amazonaws.com/textsniper.app/Gumroad/" name "TextSniper" desc "Extract text from images and other digital documents" homepage "https://textsniper.app/" livecheck do url "https://textsniper.app/api/downloads/mac-latest" strategy :header_match end no_autobump! because: :requires_manual_review auto_updates true depends_on macos: ">= :catalina" app "TextSniper.app" uninstall launchctl: "com.valerijs.boguckis.gumroad.TextSniper-LaunchAtLoginHelper", quit: "com.valerijs.boguckis.gumroad.TextSniper", delete: "/Applications/TextSniper.app" zap trash: [ "~/Library/Application Scripts/com.valerijs.boguckis.gumroad.TextSniper-LaunchAtLoginHelper", "~/Library/Application Support/com.valerijs.boguckis.gumroad.TextSniper", "~/Library/Application Support/TextSniper", "~/Library/Caches/com.valerijs.boguckis.gumroad.TextSniper", "~/Library/Containers/com.valerijs.boguckis.gumroad.TextSniper-LaunchAtLoginHelper", "~/Library/Preferences/com.valerijs.boguckis.gumroad.TextSniper.plist", ] caveats <<~EOS Older licence keys (those issued through Paddle) won't work with this version of #{token}. Download #{token} from #{homepage}/download instead. EOS end