Can't succeed in making transparent window in Electron (javascript)

后端 未结 4 2051
失恋的感觉
失恋的感觉 2020-12-18 22:06

I am trying to make a transparent window with ElectronJs but I obtain a black background.

I am on Linux (Debian Jessie)

I have tried different versions : lat

4条回答
  •  太阳男子
    2020-12-18 22:48

    if any one getting this error with new version you have disable or undocked developer tools then you will be able to succeed with transparent window

    win.webContents.openDevTools({mode:'undocked'})
    

提交回复
热议问题