revert icon path change

This commit is contained in:
Michael Telatynski 2019-10-29 12:00:40 +00:00
parent 1498872214
commit 4b0fa940bb
1 changed files with 1 additions and 1 deletions

View File

@ -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.
const iconFile = `riot.${process.platform === 'win32' ? 'ico' : 'png'}`;
const iconPath = path.join(__dirname, "..", "img", iconFile);
const iconPath = path.join(__dirname, "..", "..", "img", iconFile);
const trayConfig = {
icon_path: iconPath,
brand: vectorConfig.brand || 'Riot',