Merge pull request #2788 from MartinFournier/fix/electron-deprec-fix

Set nativeWindowOpen to fix deprecation warning
This commit is contained in:
hydroflame
2022-01-26 00:33:16 -05:00
committed by GitHub

View File

@ -18,6 +18,9 @@ async function createWindow(killall) {
show: false, show: false,
backgroundThrottling: false, backgroundThrottling: false,
backgroundColor: "#000000", backgroundColor: "#000000",
webPreferences: {
nativeWindowOpen: true,
},
}); });
window.removeMenu(); window.removeMenu();