Electron.net: Application starts with Window Title "Electron.Net"

Created on 20 Feb 2019  路  2Comments  路  Source: ElectronNET/Electron.NET

When I launch my Electron.net app - it takes a little while for the window title to change. On startup, it says "Electron.NET" and then later on after my web stack is ready, it changes to the proper name.
I tried to trace where the initial window title comes from but was not able to figure that one out. Is that configurable?

Thanks

question

Most helpful comment

You can pass the name into the window creation

Task.Run(async () => await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions { Title = "Your fancy name here" }));

All 2 comments

You can pass the name into the window creation

Task.Run(async () => await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions { Title = "Your fancy name here" }));

@flexbp Thanks! Worked for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lyy0808 picture lyy0808  路  6Comments

AykutToprak picture AykutToprak  路  4Comments

ThuCommix picture ThuCommix  路  3Comments

seanmars picture seanmars  路  5Comments

saad749 picture saad749  路  6Comments