From a6d6e66b786aaa16ca6573216aaa1d8a22940cd4 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Sat, 9 Dec 2023 07:44:26 -0700 Subject: [PATCH] #FIXME: Force-disable superfluous effects on startup --- Quicksilver/Code-App/QSApp.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Quicksilver/Code-App/QSApp.m b/Quicksilver/Code-App/QSApp.m index a5ffd8c5e..a0c5965f8 100644 --- a/Quicksilver/Code-App/QSApp.m +++ b/Quicksilver/Code-App/QSApp.m @@ -32,6 +32,13 @@ +(void)load { setenv("QSDebugCatalog", "1", YES); } #endif + // #TODO @n8henrie: Hopefully temporary workaround for Sonoma + // https://github.com/quicksilver/Quicksilver/issues/2962 + if (@available(macOS 14, *)) { + NSLog(@"Force-disabling superfluous effects at startup"); + [[NSUserDefaults standardUserDefaults] setBool:false forKey:kUseEffects]; + } + } + (void)initialize {