stuff
This commit is contained in:
parent
1591e324bb
commit
2a4e19b2fd
|
@ -3704,6 +3704,7 @@
|
|||
let browserWindow = new LibraryRequires.electron.remote.BrowserWindow(BDFDB.ObjectUtils.exclude(config, "showOnReady", "onLoad"));
|
||||
|
||||
if (!config.show && config.showOnReady) browserWindow.once("ready-to-show", browserWindow.show);
|
||||
if (config.devTools) browserWindow.openDevTools();
|
||||
if (typeof config.onLoad == "function") browserWindow.webContents.on("did-finish-load", (...args) => {config.onLoad(...args);});
|
||||
|
||||
if (typeof browserWindow.removeMenu == "function") browserWindow.removeMenu();
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue