diff --git a/sources/SquirrelInputController.swift b/sources/SquirrelInputController.swift index 3b4861a11..66199a95c 100644 --- a/sources/SquirrelInputController.swift +++ b/sources/SquirrelInputController.swift @@ -353,6 +353,11 @@ private extension SquirrelInputController { rimeAPI.set_option(session, key, value) } } + if let reportBundleID = NSApp.squirrelAppDelegate.config?.getBool("unsafe/report_bundleid"), reportBundleID { + currentApp.withCString { name in + rimeAPI.set_property(session, "client_app", name) + } + } } func destroySession() {