electron: fix tray icon path
This commit is contained in:
parent
ed7a562b36
commit
20b81b99f5
1 changed files with 2 additions and 2 deletions
|
|
@ -7,9 +7,9 @@ var tray = null,
|
|||
|
||||
export default function(options = {}) {
|
||||
|
||||
var icon = __dirname + '/../assets/logo.png'
|
||||
var icon = __dirname + '/../../assets/logo.png'
|
||||
if (process.platform === 'darwin') {
|
||||
icon = __dirname + '/../assets/logo_tray.png'
|
||||
icon = __dirname + '/../../assets/logo_tray.png'
|
||||
}
|
||||
|
||||
tray = new Tray(icon)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue