Use icon from /images for window creation (#1738)
This commit is contained in:
parent
1fdaa00660
commit
48ec4003dd
2 changed files with 1 additions and 2 deletions
2
main.js
2
main.js
|
@ -105,7 +105,7 @@ function createWindow () {
|
||||||
//sandbox: true,
|
//sandbox: true,
|
||||||
preload: path.join(__dirname, 'preload.js')
|
preload: path.join(__dirname, 'preload.js')
|
||||||
},
|
},
|
||||||
icon: __dirname + '/build/icons/png/512x512.png',
|
icon: path.join(__dirname, 'images', 'icon_256.png'),
|
||||||
}, windowConfig);
|
}, windowConfig);
|
||||||
|
|
||||||
if (windowOptions.fullscreen === false) {
|
if (windowOptions.fullscreen === false) {
|
||||||
|
|
|
@ -136,7 +136,6 @@
|
||||||
"images/**",
|
"images/**",
|
||||||
"fonts/*",
|
"fonts/*",
|
||||||
"build/assets",
|
"build/assets",
|
||||||
"build/icons/png/512x512.png",
|
|
||||||
"node_modules/**",
|
"node_modules/**",
|
||||||
"!node_modules/spellchecker/vendor/hunspell/**/*",
|
"!node_modules/spellchecker/vendor/hunspell/**/*",
|
||||||
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
|
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue