fix: failed load preload.js.

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

No files matched your search

+1 -1
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'),
},
})