From 6a671a5c02f0765be4c81d49b7226a933d48432b Mon Sep 17 00:00:00 2001 From: azivner Date: Wed, 31 Jan 2018 22:39:30 -0500 Subject: [PATCH] fix electron app icon --- electron.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electron.js b/electron.js index f72f6a0ad..7758b9a66 100644 --- a/electron.js +++ b/electron.js @@ -24,7 +24,7 @@ function createMainWindow() { width: 1200, height: 900, title: 'Trilium Notes', - icon: path.join(__dirname, 'public/images/app-icons/png/256x256.png') + icon: path.join(__dirname, 'src/public/images/app-icons/png/256x256.png') }); const port = config['Network']['port'] || '3000'; diff --git a/package.json b/package.json index fcfd6816c..98f072b25 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "start": "node ./bin/www", "test-electron": "xo", "rebuild-electron": "electron-rebuild", - "start-electron": "electron src/electron", + "start-electron": "electron .", "build-electron": "electron-packager . --out=dist --asar --overwrite --all", "start-forge": "electron-forge start", "package-forge": "electron-forge package",