From 3a36cdaf9fd150c6a67a8f7d086ffc3b1f7152fb Mon Sep 17 00:00:00 2001 From: TheGoddessInari Date: Wed, 23 Jan 2019 09:15:07 -0800 Subject: [PATCH] Fix a stray icon path still using __dirname. --- electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main.js b/electron/main.js index f95a18a7..d9d897e0 100644 --- a/electron/main.js +++ b/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