mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 08:47:47 +02:00
macOS: Switch to the User Notifications framework
The current notifications framework has been deprecated in Big Sur. The new framework only allows notifications from signed and notarized applications, so people using kitty from HomeBrew/source are out of luck. And notifications can only be displayed once the user grants permission. A completely brain-dead design. Complain to Apple.
This commit is contained in:
@@ -17,7 +17,7 @@ if is_macos:
|
||||
icon: bool = True,
|
||||
identifier: Optional[str] = None
|
||||
) -> None:
|
||||
cocoa_send_notification(identifier, title, body, None)
|
||||
cocoa_send_notification(identifier, title, body)
|
||||
|
||||
else:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user