Create WebTorrent app icon

For #120.
This commit is contained in:
Feross Aboukhadijeh
2016-03-10 00:09:21 -08:00
parent 7b715622eb
commit 7c94c4166c
6 changed files with 19 additions and 9 deletions

View File

@@ -56,6 +56,9 @@ var darwin = {
// The bundle identifier to use in the application helper's plist (OS X only).
'helper-bundle-id': 'io.webtorrent.app.helper',
// Application icon.
icon: path.join(__dirname, '..', 'WebTorrent.icns')
}
var win32 = {
@@ -87,10 +90,15 @@ var win32 = {
// the original filename, without extension. This string is required.
InternalName: 'WebTorrent'
},
// Application icon.
icon: path.join(__dirname, '..', 'WebTorrent.ico')
}
var linux = {
platform: 'linux'
// Note: Application icon for Linux is specified via the BrowserWindow `icon` option.
}
electronPackager(Object.assign({}, all, darwin), done)