mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Application starts with Window Title "Electron.Net" #283
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ErikApption on GitHub (Feb 20, 2019).
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
@rpadevops commented on GitHub (Mar 27, 2019):
You can pass the name into the window creation
Task.Run(async () => await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions { Title = "Your fancy name here" }));@gfs commented on GitHub (Mar 30, 2019):
@flexbp Thanks! Worked for me.