fix(electron): correct preload script path for IPC bridge
This commit is contained in:
@@ -7,7 +7,7 @@ function createWindow() {
|
||||
width: 1200,
|
||||
height: 800,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, 'preload.js'),
|
||||
preload: path.join(__dirname, '../preload/preload.js'),
|
||||
contextIsolation: true,
|
||||
nodeIntegration: false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user