Commit 4f86caf6 authored by Daniel Gould's avatar Daniel Gould

escape slash in logo.ico windows path

parent ff41a609
const electron = require('electron'); const electron = require('electron');
// Module to control application life. // Module to control application life.
const app = electron.app; const app = electron.app;
...@@ -146,7 +146,7 @@ function createTray() { ...@@ -146,7 +146,7 @@ function createTray() {
var iconPath var iconPath
if (os.platform() === 'win32') { if (os.platform() === 'win32') {
if (serve) { if (serve) {
iconPath = '.\src\assets\images\breeze-logo-tray.ico'; iconPath = '.\\src\\assets\\images\\breeze-logo-tray.ico';
} else { } else {
iconPath = path.join(__dirname + '\\assets\\images\\breeze-logo-tray.png'); iconPath = path.join(__dirname + '\\assets\\images\\breeze-logo-tray.png');
} }
......
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