mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-23 07:08:28 +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,
|
||||
preload: path.join(__dirname, 'static', 'preload.js')
|
||||
},
|
||||
// hardcoded by default until you decide how to pass in an icon
|
||||
icon: options.icon || path.join(__dirname, '/icon.png')
|
||||
// after webpack path here should reference `resources/app/`
|
||||
icon: path.join(__dirname, '../', '/icon.png')
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user