mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-23 15:18:30 +00:00
Make Browserwindow always reference app/icon.png
for the icon
This commit is contained in:
parent
f45098d543
commit
d0cddfde43
@ -39,8 +39,8 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
|||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
preload: path.join(__dirname, 'static', 'preload.js')
|
preload: path.join(__dirname, 'static', 'preload.js')
|
||||||
},
|
},
|
||||||
// hardcoded by default until you decide how to pass in an icon
|
// after webpack path here should reference `resources/app/`
|
||||||
icon: options.icon || path.join(__dirname, '/icon.png')
|
icon: path.join(__dirname, '../', '/icon.png')
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user