Custom Taskbar Icon

I change my application icon by setting '.theia-icon ’ and '#theia-main-content-panel ’ , but the taskbar icon do not change, any method can change it in theia blueprint?

Hey @wss,

the task bar icon is unrelated to whatever is rendered in HTML (so you can’t set it via CSS). It’s an Electron property, see also electron-packager.

Hi @msujew , sorry for asking such a basic question but I’m totally new in the Electron ecosystem… Do you mean that I can change the taskbar icon in the ? I have tried it but is seems to have no effect on taskbar icon…Thanks in advance!

Right, I just took a look at how blueprint does it, and they change the window icon in here.

@msujew many thanks, it works!

1 Like