Commit 4e2ac789 authored by dev0tion's avatar dev0tion

Add Breeze tray icon

parent 2f134f99
......@@ -116,8 +116,13 @@ function createTray() {
let appIcon = null;
const iconName = process.platform === 'win32' ? './assets/images/breeze-logo.png' : './assets/images/breeze-logo.png';
const iconPath = path.join(__dirname, iconName);
var iconPath
if (os.platform == 'win32') {
iconPath = __dirname + '/assets/images/breeze-logo-tray.ico';
} else {
iconPath = __dirname + '/assets/images/breeze-logo-tray.png';
}
appIcon = new Tray(iconPath);
const contextMenu = Menu.buildFromTemplate([{
label: 'Hide/Show',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment