Merge pull request #63 from zweicoder/fix/win-linux-icon

Add icon hotfix
This commit is contained in:
Jia Hao 2016-01-23 15:21:05 +07:00
commit fd8fe2df77
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
plugins: true,
nodeIntegration: false,
preload: path.join(__dirname, 'static', 'preload.js')
}
},
icon: options.icon || path.join(__dirname,'/icon.png') // hardcoded by default until you decide how to pass in an icon
}
);