Browse Source

Merge pull request #1265 from grummi92/linux-taskbar-icon

Linux does not support .ico files for the window icon
pull/1216/merge
Ramiro Saenz 7 years ago committed by GitHub
parent
commit
f84ef7c67b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electron/main.js

2
electron/main.js

@ -144,7 +144,7 @@ function createWindow () {
// Create the browser window using the state information
mainWindow = new BrowserWindow({
title: 'Rambox'
,icon: __dirname + '/../resources/Icon.ico'
,icon: __dirname + '/../resources/Icon.' + (process.platform === 'linux' ? 'png' : 'ico')
,backgroundColor: '#FFF'
,x: config.get('x')
,y: config.get('y')

Loading…
Cancel
Save