mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
macOS: Fix a regression in the previous release that caused --single-instance to not work when using macos-launch-services-cmdline
This commit is contained in:
@@ -86,6 +86,7 @@ bool
|
||||
init_logging(PyObject *module) {
|
||||
if (PyModule_AddFunctions(module, module_methods) != 0) return false;
|
||||
#ifdef __APPLE__
|
||||
// This env var can be either 1 or 2
|
||||
if (getenv("KITTY_LAUNCHED_BY_LAUNCH_SERVICES") != NULL) use_os_log = true;
|
||||
#endif
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user