From 4b0fa940bbaac66e1607fb17b38b58daa8e3ac96 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 29 Oct 2019 12:00:40 +0000 Subject: [PATCH] revert icon path change --- electron_app/src/electron-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js index 828a8f380f..95f49e40bf 100644 --- a/electron_app/src/electron-main.js +++ b/electron_app/src/electron-main.js @@ -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',