Преглед изворни кода

【分包下载】检测是否需要更新

lizhe пре 1 година
родитељ
комит
f825fc6749

+ 4 - 0
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift

@@ -350,6 +350,10 @@ import Cocoa
 
         self.addKeyEventMonitor()
         
+        //检测OCR包是否需要更新
+        #if VERSION_DMG
+        KMResourceDownloadManager.manager.documentAIBundleExists()
+        #endif
     }
         
     //MARK: - PDFListView