|
@@ -1001,12 +1001,21 @@ let kConvertFileSavePath = (kTempSavePath?.stringByAppendingPathComponent("conve
|
|
}
|
|
}
|
|
#if VERSION_DMG
|
|
#if VERSION_DMG
|
|
if KMMemberInfo.shared.isMemberAllFunction && !KMMemberInfo.shared.isPermitConvert {
|
|
if KMMemberInfo.shared.isMemberAllFunction && !KMMemberInfo.shared.isPermitConvert {
|
|
- let limitWC = KMPurchaseLimitWindowController.currentLimitWC()
|
|
|
|
- limitWC.continueBlock = { windowController in
|
|
|
|
-
|
|
|
|
|
|
+ if KMMemberInfo.shared.userScenarioType == .dmg_type8 ||
|
|
|
|
+ KMMemberInfo.shared.userScenarioType == .dmg_type9 {
|
|
|
|
+ let alert = NSAlert()
|
|
|
|
+ alert.alertStyle = .critical
|
|
|
|
+ alert.informativeText = NSLocalizedString("Sorry, you do not have the rights to this paid feature and cannot use it. If you have any questions, please contact customer service at support@pdfreaderpro.com", comment: "")
|
|
|
|
+ alert.addButton(withTitle: NSLocalizedString("Got it", comment: ""))
|
|
|
|
+ alert.runModal()
|
|
|
|
+ } else {
|
|
|
|
+ let limitWC = KMPurchaseLimitWindowController.currentLimitWC()
|
|
|
|
+ limitWC.continueBlock = { windowController in
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ limitWC.window?.center()
|
|
|
|
+ limitWC.showWindow(nil)
|
|
}
|
|
}
|
|
- limitWC.window?.center()
|
|
|
|
- limitWC.showWindow(nil)
|
|
|
|
} else {
|
|
} else {
|
|
if KMMemberInfo.shared.userScenarioType == .dmg_type16 ||
|
|
if KMMemberInfo.shared.userScenarioType == .dmg_type16 ||
|
|
KMMemberInfo.shared.userScenarioType == .dmg_type17 {
|
|
KMMemberInfo.shared.userScenarioType == .dmg_type17 {
|