Open ErnyTech opened 1 year ago
Can you elaborate, what is the purpose? Also, please make sure to comply with the linter rules.
Electron sets WM_CLASS based on app name, currently equivalent to "Telegram A". Unfortunately on Linux to get the application icon on the task manager it is necessary that the WM_CLASS must correspond to the name of the icon, to be able to optimally package the application on a Linux distro it is necessary to have a WM_CLASS without spaces. This patch is useful for doing this without changing the code
This is especially useful because of this https://github.com/electron/electron/issues/33155