-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layouts Break Window Load #38
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: