mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-09-04 05:34:41 +08:00
fix: failed load preload.js.
This commit is contained in:
@@ -16,7 +16,7 @@ function createWin() {
|
||||
height: 768,
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
preload: join(__dirname, '../preload/index.js'),
|
||||
preload: join(__dirname, '../../src/preload/index.js'),
|
||||
},
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user