Skip to content

Commit

Permalink
Fix window icon (#541)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
owcz authored and dmsnell committed Apr 18, 2017
1 parent bf68443 commit b952d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b952d35

Please sign in to comment.