Rearrange directory
This commit is contained in:
@@ -53,7 +53,7 @@ var showUnreadBadge = function(unreadCount) {
|
|||||||
case 'win32':
|
case 'win32':
|
||||||
var window = remote.getCurrentWindow();
|
var window = remote.getCurrentWindow();
|
||||||
if (unreadCount > 0) {
|
if (unreadCount > 0) {
|
||||||
window.setOverlayIcon(__dirname + '/badge.png', 'You have unread channels.');
|
window.setOverlayIcon(__dirname + '/resources/badge.png', 'You have unread channels.');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
window.setOverlayIcon(null, '');
|
window.setOverlayIcon(null, '');
|
||||||
|
@@ -52,7 +52,7 @@ app.on('before-quit', function() {
|
|||||||
app.on('ready', function() {
|
app.on('ready', function() {
|
||||||
// set up tray icon to show balloon
|
// set up tray icon to show balloon
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
trayIcon = new Tray(__dirname + '/tray.png');
|
trayIcon = new Tray(__dirname + '/resources/tray.png');
|
||||||
trayIcon.setToolTip(app.getName());
|
trayIcon.setToolTip(app.getName());
|
||||||
var tray_menu = require('./menus/tray').createDefault();
|
var tray_menu = require('./menus/tray').createDefault();
|
||||||
trayIcon.setContextMenu(tray_menu);
|
trayIcon.setContextMenu(tray_menu);
|
||||||
|
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Reference in New Issue
Block a user