electron: [Bug]: There is no way to get a custom WM_CLASS on electron app Windows
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
17.1.0
What operating system are you using?
Other Linux
Operating System Version
OpenSuse or any other
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
How can I set a custom WM_CLASS attribute to windows opened with electron? For example, in chromium is possible specifying --class
argument. When app get a WM_CLASS, KDE and other desktops can correctly assign a icon based on .desktop
files installed.
google-chrome --app=https://example.org --class=crx_application
Is there any way to do this in electron? Maybe with command line or with javascript? Something like this could be good
const window = new BrowserWindow({wmClass: "crx_appplication"})
Actual Behavior
I don’t see any option related to this. Is there any way to get this?
Testcase Gist URL
No response
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 10
- Comments: 18 (3 by maintainers)
Bump
El jue, 7 de sept de 2023, 8:48 p. m., issue-triage-bot[bot] < @.***> escribió:
bump
there you go