Skip to content

Commit d936070

Browse files
committed
Fix asset paths.
1 parent ed6f6d9 commit d936070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ const createWindow = (conf) => {
7575

7676
let win = new BrowserWindow({
7777
webPreferences: {
78-
preload: path.join(__dirname, 'assets/preload.js'),
78+
preload: path.join(__dirname, 'assets', 'preload.js'),
7979
},
80-
icon: './assets/logo.png',
80+
icon: path.join(__dirname, 'assets', 'logo.png'),
8181
width,
8282
height,
8383
x,

0 commit comments

Comments
 (0)