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
I tried to implement a layout for one of my windows, but when I try to open the window with a layout it fails with the "unable to load application interface" error.
I initialize the layout in my main process with: windowManager.init({ ..... layouts: { default: 'layout.html' } });
and when I open the window I open it with: var win2 = windowManager.open(false, appName, url, false, { frame: false, show: false, useContentSize: true, webPreferences: { preload: preload }, layout: 'default' }); ..... win2.object.show();
It doesn't matter what I put in the layout.html file, I have tried just pasting what is in the README.md example and it doesn't work.
The text was updated successfully, but these errors were encountered:
I tried to implement a layout for one of my windows, but when I try to open the window with a layout it fails with the "unable to load application interface" error.
I initialize the layout in my main process with:
windowManager.init({ ..... layouts: { default: 'layout.html' } });
and when I open the window I open it with:
var win2 = windowManager.open(false, appName, url, false, { frame: false, show: false, useContentSize: true, webPreferences: { preload: preload }, layout: 'default' }); ..... win2.object.show();
It doesn't matter what I put in the layout.html file, I have tried just pasting what is in the README.md example and it doesn't work.
The text was updated successfully, but these errors were encountered: