mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2026-01-18 16:12:43 +00:00
fix #595 file input cannot be selected [remote module is disabled by default].
This commit is contained in:
parent
00390cf530
commit
75a0b0be7f
@ -28,6 +28,8 @@ function createWindow() {
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
// add this to keep 'remote' module avaiable. Tips: it will be removed in electron 14
|
||||
enableRemoteModule: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user