Drop support for building without UserNotifications

Trying to maintain the two code paths is too much effort given all the
new features being added to notifications.
This commit is contained in:
Kovid Goyal
2024-07-30 07:39:53 +05:30
parent e97c225b6c
commit 9b19f300fe
2 changed files with 2 additions and 53 deletions

View File

@@ -626,7 +626,7 @@ def kitty_env(args: Options) -> Env:
if user_notifications_framework:
platform_libs.extend(shlex.split(user_notifications_framework))
else:
cppflags.append('-DKITTY_USE_DEPRECATED_MACOS_NOTIFICATION_API')
raise SystemExit('UserNotifications framework missing')
# Apple deprecated OpenGL in Mojave (10.14) silence the endless
# warnings about it
cppflags.append('-DGL_SILENCE_DEPRECATION')