From 81e7e6a3567467edfb0478f04cafc47fb322c262 Mon Sep 17 00:00:00 2001 From: pagedown Date: Sat, 29 Jan 2022 13:41:59 +0800 Subject: [PATCH] macOS: Disable sudden termination Since we have the quit confirmation feature, so we explicitly specify that sudden termination is not supported. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0a83e2ed0..e5678aec6 100755 --- a/setup.py +++ b/setup.py @@ -1048,8 +1048,8 @@ def macos_info_plist() -> bytes: # App Execution CFBundleExecutable=appname, LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1'}, - # Launch Conditions LSRequiresNativeExecution=True, + NSSupportsSuddenTermination=False, # Localization # see https://github.com/kovidgoyal/kitty/issues/1233 CFBundleDevelopmentRegion='English',