使用ElectronJS,如何将现有的无框窗口更改为框架窗口?
这样的事情:
const splashWindow = createWindow('splash', {
width: 500,
height: 300,
frame: false,
});
splashWindow.addFrame();
// Now splashWindow has a frame
答案 0 :(得分:0)
You can only set frame
when creating a BrowserWindow