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 am trying to create a new menu for a new window.
Tried the fix from #47, did not work
If I remove the menu from the new window (not main window) then it works and I see the menu from the Main window in the new window.
error-utils.ts:14 Uncaught Error: Could not call remote method 'open'. Check that the method signature is correct. Underlying error: Invalid Menu
Underlying stack: TypeError: Invalid Menu
I am trying to create a new menu for a new window.
Tried the fix from #47, did not work
If I remove the menu from the new window (not main window) then it works and I see the menu from the Main window in the new window.
error-utils.ts:14 Uncaught Error: Could not call remote method 'open'. Check that the method signature is correct. Underlying error: Invalid Menu
Underlying stack: TypeError: Invalid Menu
windowManager.templates.set('read', {
'width': 800,
'height': 600,
'position': 'topLeft',
'showDevTools': false,
'resizable': true,
'title': 'Load',
'menu': {
label: 'Read',
submenu: [
{ role: 'quit' }
]
},
'webPreferences': {
// preload: path.join(__dirname, 'preload.js'),
'nodeIntegration': true
},
readwin = windowManager.createNew('readwin', 'Read eeprom', path.join('file://', __dirname, '/read.html'), 'read')
The text was updated successfully, but these errors were encountered: