|
@@ -880,11 +880,13 @@ extension AppDelegate : SUUpdaterDelegate {
|
|
|
}
|
|
|
|
|
|
func feedURLString(for updater: SUUpdater) -> String? {
|
|
|
+ var hostURL = "https://www.pdfreaderpro.com/downloads/"
|
|
|
#if DEBUG
|
|
|
- return "http://test-pdf-pro.kdan.cn:3021/downloads/pdfmasterprocast.xml"
|
|
|
+ hostURL = "http://test-pdf-pro.kdan.cn:3021/downloads/"
|
|
|
#else
|
|
|
- return "https://www.pdfreaderpro.com/downloads/pdfmasterprocast.xml"
|
|
|
+ hostURL = "https://www.pdfreaderpro.com/downloads/"
|
|
|
#endif
|
|
|
+ return hostURL+NSLocalizedString("pdfreaderprocast.xml", comment: "")
|
|
|
}
|
|
|
|
|
|
func updaterShouldPromptForPermissionToCheck(forUpdates updater: SUUpdater) -> Bool {
|