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
commit d5b937aaef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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