mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Add: Lunar Support
This commit is contained in:
parent
93e0c86033
commit
14c8f244db
6 changed files with 1653 additions and 2923 deletions
|
|
@ -159,6 +159,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
windowSizeUpdateWorkItem?.cancel()
|
||||
NotificationCenter.default.removeObserver(self)
|
||||
extensionXPCServiceHost.stop()
|
||||
|
||||
// Restore Lunar's native OSD if integration was active
|
||||
LunarManager.shared.appWillTerminate()
|
||||
}
|
||||
|
||||
@objc func onScreenLocked(_: Notification) {
|
||||
|
|
@ -415,6 +418,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||
|
||||
// Setup BetterDisplay integration
|
||||
BetterDisplayManager.shared.configure(coordinator: coordinator)
|
||||
|
||||
// Setup Lunar integration
|
||||
LunarManager.shared.configure(coordinator: coordinator)
|
||||
|
||||
// Setup ScreenRecording Manager
|
||||
if Defaults[.enableScreenRecordingDetection] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue