// // KMServerConfig.swift // PDF Reader Pro // // Created by Niehaoyu on 2024/12/16. // import Cocoa class KMServerConfig: NSObject { class func isConnectionAvailable() -> Bool { if Reachability.forInternetConnection().currentReachabilityStatus().rawValue == 0 { return false } return true } //分包下载地址 var kResourceServerURL: String { get{ #if DEBUG return "https://www.pdfreaderpro.com/downloads/PDFReaderPro_Mac.xml" #else return "https://www.pdfreaderpro.com/downloads/PDFReaderPro_Mac.xml" #endif } } }