|
@@ -162,10 +162,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|
|
}
|
|
|
|
|
|
let PDFOfficeMenu = mainMenu?.item(at: 0)?.submenu
|
|
|
- let appTarget = KMTools_OC.getAppTarget()
|
|
|
- if (appTarget == .DMG) {
|
|
|
- PDFOfficeMenu?.insertItem(withTitle: NSLocalizedString("Check for Updates", comment: ""), action: #selector(checkForUpdates), target: self, at: 1)
|
|
|
- }
|
|
|
+// let appTarget = KMTools_OC.getAppTarget()
|
|
|
+// if (appTarget == .DMG) {
|
|
|
+// PDFOfficeMenu?.insertItem(withTitle: NSLocalizedString("Check for Updates", comment: ""), action: #selector(checkForUpdates), target: self, at: 1)
|
|
|
+// }
|
|
|
if let items = PDFOfficeMenu?.items {
|
|
|
for menu in items {
|
|
|
let ranges = menu.title.ranges(of: "PDF Master")
|