revert icon path change
This commit is contained in:
parent
1498872214
commit
4b0fa940bb
|
@ -91,7 +91,7 @@ global.minimizeToTray = global.showTrayIcon && store.get('minimizeToTray', true)
|
||||||
|
|
||||||
// It's important to call `path.join` so we don't end up with the packaged asar in the final path.
|
// It's important to call `path.join` so we don't end up with the packaged asar in the final path.
|
||||||
const iconFile = `riot.${process.platform === 'win32' ? 'ico' : 'png'}`;
|
const iconFile = `riot.${process.platform === 'win32' ? 'ico' : 'png'}`;
|
||||||
const iconPath = path.join(__dirname, "..", "img", iconFile);
|
const iconPath = path.join(__dirname, "..", "..", "img", iconFile);
|
||||||
const trayConfig = {
|
const trayConfig = {
|
||||||
icon_path: iconPath,
|
icon_path: iconPath,
|
||||||
brand: vectorConfig.brand || 'Riot',
|
brand: vectorConfig.brand || 'Riot',
|
||||||
|
|
Loading…
Reference in New Issue