|
@@ -1035,6 +1035,21 @@ import Cocoa
|
|
|
var vc = KMToolCompareWindowController(toolType: .Convert, selectNum: 1)
|
|
|
vc.showWindow(nil)
|
|
|
}
|
|
|
+
|
|
|
+ if userScenarioType == .lite_type2 ||
|
|
|
+ userScenarioType == .lite_type4 ||
|
|
|
+ userScenarioType == .lite_type6 ||
|
|
|
+ userScenarioType == .lite_type8 {
|
|
|
+ // 订阅中,Android单平台高级版月订阅或者全平台标准版年订阅,不能升级,提示联系客服
|
|
|
+ if !platformsArray.contains("mac") ||
|
|
|
+ KMMemberInfo.shared.vip_levels != "3" {
|
|
|
+ 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 {
|
|
|
KMMemberInfo.shared.advancedFunctionUsage()
|
|
|
}
|