macOS: Disable sudden termination
Since we have the quit confirmation feature, so we explicitly specify that sudden termination is not supported.
This commit is contained in:
2
setup.py
2
setup.py
@@ -1048,8 +1048,8 @@ def macos_info_plist() -> bytes:
|
|||||||
# App Execution
|
# App Execution
|
||||||
CFBundleExecutable=appname,
|
CFBundleExecutable=appname,
|
||||||
LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1'},
|
LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1'},
|
||||||
# Launch Conditions
|
|
||||||
LSRequiresNativeExecution=True,
|
LSRequiresNativeExecution=True,
|
||||||
|
NSSupportsSuddenTermination=False,
|
||||||
# Localization
|
# Localization
|
||||||
# see https://github.com/kovidgoyal/kitty/issues/1233
|
# see https://github.com/kovidgoyal/kitty/issues/1233
|
||||||
CFBundleDevelopmentRegion='English',
|
CFBundleDevelopmentRegion='English',
|
||||||
|
|||||||
Reference in New Issue
Block a user