fix: failed load preload.js.

This commit is contained in:
草鞋没号
2021-02-18 21:49:53 +08:00
parent 66a9f79c72
commit f28a05bccb
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ function createWin() {
height: 768,
webPreferences: {
nodeIntegration: true,
preload: join(__dirname, '../preload/index.js'),
preload: join(__dirname, '../../src/preload/index.js'),
},
})