You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const { remote } = require('electron');
var windowManager = remote.require('electron-window-manager');
const thisWindow = windowManager.getById(remote.getCurrentWindow().id);
var windowName = new String(thisWindow.name);
// now you have the window name as windowName
It would be nice if, in a renderer process, you could call something like:
windowManager.getCurrentWindowName()
And have it return the name associated with the BrowserWindow
The text was updated successfully, but these errors were encountered: