fix(electron): correct preload script path for IPC bridge

This commit is contained in:
2025-11-22 12:42:02 +01:00
parent 38e7c6f60f
commit bb17a4a085

View File

@@ -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
}