Browse Source

Fix a stray icon path still using __dirname.

pull/3202/head
TheGoddessInari 6 years ago
parent
commit
3a36cdaf9f
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 2
      electron/main.js

2
electron/main.js

@ -375,7 +375,7 @@ ipcMain.on('image:popup', function(event, url, partition) {
width: mainWindow.getBounds().width
,height: mainWindow.getBounds().height
,parent: mainWindow
,icon: __dirname + '/../resources/Icon.ico'
,icon: app.getAppPath() + '/resources/Icon.' + (process.platform === 'linux' ? 'png' : 'ico')
,backgroundColor: '#FFF'
,autoHideMenuBar: true
,skipTaskbar: true

Loading…
Cancel
Save