rime / squirrel

【鼠鬚管】Rime for macOS
https://rime.im
GNU General Public License v3.0
4.52k stars 412 forks source link

Add report_bundleid to allow App Bundle ID to be accessible from librime #941

Open LEOYoon-Tsaw opened 4 weeks ago

LEOYoon-Tsaw commented 4 weeks ago

Weasel reports current App name by setting "client_app" in librime property.

This can be potentially useful for Lua based app specific functions. But needs to be explicitly enabled by user in squirrel.custom.yaml like:

# squirrel.custom.yaml
patch:
  unsafe/report_bundleid: true

Without specifically setting this option to true, bundle id will not be reported to librime (default)