mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Merge pull request #2788 from MartinFournier/fix/electron-deprec-fix
Set nativeWindowOpen to fix deprecation warning
This commit is contained in:
commit
d5b937aaef
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user