Skip to content

Commit

Permalink
smaller tray icon
Browse files Browse the repository at this point in the history
tray only for platforms other than mac
windows app icon for build
  • Loading branch information
Dani3lSun authored and Dani3lSun committed Jan 17, 2016
1 parent 8c36f1c commit 82ed49e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,10 @@ app.on('mainWindow-all-closed', function() {
});
// App is loaded
app.on('ready', function() {
// Tray icon
appIcon = new appTray('img/app.png');
// Tray icon not on OSX
if (process.platform != 'darwin') {
appIcon = new appTray('img/tray.png');
}
// Create the main window for the app
mainWindow = new BrowserWindow({
"width": 1280, // init width
Expand Down
Binary file added img/app.ico
Binary file not shown.
Binary file added img/tray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ app.on('mainWindow-all-closed', function() {
});
// App is loaded
app.on('ready', function() {
// Tray icon
appIcon = new appTray('img/app.png');
// Tray icon not on OSX
if (process.platform != 'darwin') {
appIcon = new appTray('img/tray.png');
}
// Create the main window for the app
mainWindow = new BrowserWindow({
"width": 1280, // init width
Expand Down

0 comments on commit 82ed49e

Please sign in to comment.