sindresorhus/electron-context-menu

Ignores browserWindow `frame : false` in packaged build

LDubya opened this issue · 3 comments

Hi there,

We have set the browserWindow frame to be 'false' in our app, and use our own custom frame. (Looks sleeker than the default).

We'd like to use your extension, but when the app is built and packaged with const contextMenu = require('electron-context-menu'), this extension causes the browserWindow's frame to be present.

Is there a setting to ensure this extension respects our frame settings?

Looks like in a packaged app it also prevents the creation of a new second browserWindow when a current browserWindow exists

This package doesn't modify BrowserWindow in any way. This sounds more like an Electron bug.

There are definitely not electron-context-menu bugs unless it's implementation dependent. Neither of the mentioned issues affect us in a multi-window, frameless application.