Browse Source

【fix】【序列码】输入序列码入口要拿掉

tangchao 4 months ago
parent
commit
34284e6ad8

+ 7 - 7
PDF Office/PDF Master/AppDelegate.swift

@@ -517,7 +517,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, iRateDelegate{
         let PDFOfficeMenu = mainMenu?.item(at: 0)?.submenu
 #if VERSION_DMG
         _ = PDFOfficeMenu?.insertItem(withTitle: NSLocalizedString("Check for Updates", comment: ""), action: #selector(checkForUpdates), target: self, at: 3)
-        _ = PDFOfficeMenu?.insertItem(withTitle: NSLocalizedString("Enter License", comment: ""), action: #selector(enterLicense), target: self, at: 4)
+//        _ = PDFOfficeMenu?.insertItem(withTitle: NSLocalizedString("Enter License", comment: ""), action: #selector(enterLicense), target: self, at: 4)
 //        if ([VerificationManager manager].needUpgradeLicense == NO) {
         if VerificationManager.default().needUpgradeLicense {
             _ = PDFOfficeMenu?.insertItem(withTitle: NSLocalizedString("PDF to Office Pack", comment: ""), action: #selector(pdftoOfficeMenuItemAction), target: self, at: 5)
@@ -696,14 +696,14 @@ class AppDelegate: NSObject, NSApplicationDelegate, iRateDelegate{
         if let tManager = VerificationManager.default() {
             let status = tManager.status
             if status == ActivityStatusVerifExpire {
-                let vc = KMVerificationWindowController.verification(with: .activateExpired)
-                vc?.showWindow(nil)
+//                let vc = KMVerificationWindowController.verification(with: .activateExpired)
+//                vc?.showWindow(nil)
             } else if status == ActivityStatusVerification {
-                let vc = KMVerificationWindowController.verification(with: .info)
-                vc?.showWindow(nil)
+//                let vc = KMVerificationWindowController.verification(with: .info)
+//                vc?.showWindow(nil)
             } else {
-                let vc = KMVerificationWindowController.verification(with: .activate)
-                vc?.showWindow(nil)
+//                let vc = KMVerificationWindowController.verification(with: .activate)
+//                vc?.showWindow(nil)
             }
         }
         

+ 2 - 2
PDF Office/PDF Master/Class/Home/ViewController/KMHomeViewController.swift

@@ -1027,8 +1027,8 @@ extension KMHomeViewController {
             return
         }
         repeatTrialAlertLoad = true
-        let vc = KMVerificationWindowController.verification(with:.repeatTrialGuide)
-        vc?.showWindow(nil)
+//        let vc = KMVerificationWindowController.verification(with:.repeatTrialGuide)
+//        vc?.showWindow(nil)
     }
     
     //MARK: 试用到期优惠券弹窗