From e0e815bc70a3424aaade9c921509c53f0c7a071c Mon Sep 17 00:00:00 2001 From: Wolf Date: Sat, 8 Apr 2017 22:33:12 -0400 Subject: [PATCH] Fix window icon Fixes #316. `__dirname` called the wrong path (`./desktop/lib/icons/app-icon/icon_256x256.png` instead of ./lib/icons/app-icon/icon_256x256.png`). Tested in Arch (Manjaro), Xfce. --- desktop/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/app.js b/desktop/app.js index a120ad41a..1b6597278 100644 --- a/desktop/app.js +++ b/desktop/app.js @@ -37,7 +37,7 @@ module.exports = function main() { } ); // Create the browser window. - var iconPath = path.join( __dirname, '/lib/icons/app-icon/icon_256x256.png' ); + var iconPath = path.join( __dirname, '../lib/icons/app-icon/icon_256x256.png' ); mainWindow = new BrowserWindow( { x: mainWindowState.x, y: mainWindowState.y,