From 48ec4003ddede0c79a4e905ba741c199d2cfa402 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 8 Nov 2017 19:11:33 -0800 Subject: [PATCH] Use icon from /images for window creation (#1738) --- main.js | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main.js b/main.js index 7f0138ce9..3c5ae37af 100644 --- a/main.js +++ b/main.js @@ -105,7 +105,7 @@ function createWindow () { //sandbox: true, preload: path.join(__dirname, 'preload.js') }, - icon: __dirname + '/build/icons/png/512x512.png', + icon: path.join(__dirname, 'images', 'icon_256.png'), }, windowConfig); if (windowOptions.fullscreen === false) { diff --git a/package.json b/package.json index dae199f93..12f34833b 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,6 @@ "images/**", "fonts/*", "build/assets", - "build/icons/png/512x512.png", "node_modules/**", "!node_modules/spellchecker/vendor/hunspell/**/*", "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",