Skip to content

Commit bc36022

Browse files
committed
Minor tweaks
1 parent e0df9c8 commit bc36022

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/Support/AppDelegate.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
301301
}
302302
case "LastUpdatesAvailable":
303303
logger.debug("\(keyPath! as NSObject, privacy: .public) changed to \(self.ASUdefaults!.integer(forKey: "LastUpdatesAvailable"))")
304-
case "RecommendedUpdates":
305-
logger.debug("\(keyPath! as NSObject, privacy: .public) changed, checking update contents...")
306304
self.computerinfo.getRecommendedUpdates()
305+
// case "RecommendedUpdates":
306+
// logger.debug("\(keyPath! as NSObject, privacy: .public) changed, checking update contents...")
307+
// self.computerinfo.getRecommendedUpdates()
307308
case "OpenAtLogin":
308309
logger.debug("\(keyPath! as NSObject) change to \(self.defaults.bool(forKey: "OpenAtLogin"))")
309310
self.configureLaunchAgent()

src/Support/ComputerInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ class ComputerInfo: ObservableObject {
594594
}
595595
// Report but ignore any non-macOS updates, such as application updates
596596
} else {
597-
self.logger.debug("\(item.displayName) is not a macOS update")
597+
self.logger.debug("\(item.displayName, privacy: .public) is not a macOS update")
598598
}
599599
}
600600
}

0 commit comments

Comments
 (0)