optimization: move icons and windows folders to static folder

This commit is contained in:
Jocs 2018-05-29 23:42:25 +08:00
parent 2259a6e5fd
commit a3a0c80d33
6 changed files with 4 additions and 6 deletions

2
.gitignore vendored
View File

@ -2,8 +2,6 @@
dist/electron/* dist/electron/*
dist/web/* dist/web/*
build/* build/*
!build/icons
!build/windows
coverage coverage
.vscode .vscode
node_modules/ node_modules/

View File

@ -64,10 +64,10 @@
] ]
}, },
"mac": { "mac": {
"icon": "build/icons/icon.icns" "icon": "static/icons/icon.icns"
}, },
"win": { "win": {
"icon": "build/icons/icon.ico", "icon": "static/icons/icon.ico",
"target": [ "target": [
{ {
"target": "nsis", "target": "nsis",
@ -83,11 +83,11 @@
"perMachine": true, "perMachine": true,
"oneClick": false, "oneClick": false,
"allowToChangeInstallationDirectory": true, "allowToChangeInstallationDirectory": true,
"include": "build/windows/installer.nsh" "include": "static/windows/installer.nsh"
}, },
"linux": { "linux": {
"category": "Office;TextEditor;Utility", "category": "Office;TextEditor;Utility",
"icon": "build/icons" "icon": "static/icons"
}, },
"snap": { "snap": {
"confinement": "classic", "confinement": "classic",

View File

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 361 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB