|
@@ -9,13 +9,13 @@ import Cocoa
|
|
|
import Foundation
|
|
|
import ZipArchive // 请确保已导入 SSZipArchive 或其他合适的解压库
|
|
|
|
|
|
-#if DEBUG
|
|
|
-let xmlURLString = "http://test-pdf-pro.kdan.cn:3021/downloads/DocumentAI.xml"
|
|
|
-#else
|
|
|
-let xmlURLString = "https://www.pdfreaderpro.com/downloads/DocumentAI.xml"
|
|
|
-#endif
|
|
|
+//#if DEBUG
|
|
|
+//let xmlURLString = "http://test-pdf-pro.kdan.cn:3021/downloads/DocumentAI.xml"
|
|
|
+//#else
|
|
|
+//let xmlURLString = "https://www.pdfreaderpro.com/downloads/DocumentAI.xml"
|
|
|
+//#endif
|
|
|
//let documentAIString = "http://test-pdf-pro.kdan.cn:3021/downloads/DocumentAI.bundle.zip"
|
|
|
-
|
|
|
+let xmlURLString = KMLightMemberConfig().kResourceServerURL
|
|
|
let kResourcePath = FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).first?.path
|
|
|
|
|
|
enum KMResourceDownloadState {
|