1 cask "abbyy-finereader-pdf" do
5 url "https://downloads.abbyy.com/fr/fr_mac/current/ABBYY_FineReader_PDF.dmg?secure=5c11NlPrQmIZeGn6dK2PZA=="
6 name "ABBYY FineReader PDF"
7 desc "Scan, OCR, and convert documents to searchable PDFs and other formats"
8 homepage "https://pdf.abbyy.com/finereader-pdf-for-mac/"
11 url "https://www.abbyy.com/finereader-pdf-mac-downloads/"
12 regex(%r{>\s*Part\s+#:.*?<td>\s*v?(\d+(?:[./]\d+)+)\s*<}im)
13 strategy :page_match do |page, regex|
14 page.scan(regex).map { |match| match[0].tr("/", ".") }
18 depends_on macos: ">= :big_sur"
20 app "ABBYY FineReader PDF.app"
23 "~/Library/Application Support/ABBYY",
24 "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.abbyy.finereader.sfl*",
25 "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.abbyy.frpdfviewer.sfl*",
26 "~/Library/Preferences/com.abbyy.finereader.pdf.plist",
27 "~/Library/Preferences/com.abbyy.FineReader.plist",
28 "~/Library/Preferences/com.abbyy.FRPDFViewer.plist",
29 "~/Library/Preferences/com.abbyy.ImageProcessService*.plist",
30 "~/Library/Saved Application State/com.abbyy.FineReader.savedState",
31 "~/Library/Saved Application State/com.abbyy.FRPDFViewer.savedState",