From ae7440f8ab89797fca2fb018471d129ead3ca8c6 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Wed, 1 May 2019 01:26:00 +0200 Subject: [PATCH] Fix linux icon --- src/electron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electron.ts b/src/electron.ts index eb82d02..e8ee291 100644 --- a/src/electron.ts +++ b/src/electron.ts @@ -35,7 +35,7 @@ async function createWindow() { loadDevTools() } - const iconPath = path.join(__dirname, 'icon.png') + const iconPath = path.join(__dirname, '..', '..', 'icon.png') // Create the browser window. mainWindow = new BrowserWindow({ width: 1024,