|
1 | 1 | { |
2 | 2 | "name": "lx-music-desktop", |
3 | | - "version": "0.2.2", |
| 3 | + "version": "0.2.3", |
4 | 4 | "description": "一个免费的音乐下载助手", |
5 | 5 | "main": "./dist/electron/main.js", |
| 6 | + "productName": "lx-music-desktop", |
6 | 7 | "scripts": { |
| 8 | + "pack": "node build-config/pack.js && npm run pack:win:setup", |
| 9 | + "pack:win": "npm run pack:win:setup && npm run pack:win:7z", |
| 10 | + "pack:win:setup": "cross-env TARGET=Setup ARCH=x64_x86 electron-builder -w=nsis", |
| 11 | + "pack:win:portable": "npm run pack:win:portable:x64_x86 && npm run pack:win:portable:x64 && npm run pack:win:portable:x86", |
| 12 | + "pack:win:portable:x64_x86": "cross-env TARGET=便携版 ARCH=x64_x86 electron-builder -w=portable --x64 --ia32", |
| 13 | + "pack:win:portable:x64": "cross-env TARGET=便携版 ARCH=x64 electron-builder -w=portable --x64", |
| 14 | + "pack:win:portable:x86": "cross-env TARGET=便携版 ARCH=x86 electron-builder -w=portable --ia32", |
| 15 | + "pack:win:7z": "npm run pack:win:7z:x64 && npm run pack:win:7z:x86", |
| 16 | + "pack:win:7z:x64": "cross-env TARGET=绿色版 ARCH=x64 electron-builder -w=7z --x64", |
| 17 | + "pack:win:7z:x86": "cross-env TARGET=绿色版 ARCH=x86 electron-builder -w=7z --ia32", |
7 | 18 | "publish": "node publish", |
8 | | - "pub:gh": "node build-config/pack.js && electron-builder --win -p always", |
9 | | - "pack": "node build-config/pack.js && electron-builder -w", |
| 19 | + "publish:gh": "node build-config/pack.js && npm run publish:win", |
| 20 | + "publish:win": "npm run publish:win:setup && npm run publish:win:7z", |
| 21 | + "publish:win:setup": "cross-env TARGET=Setup ARCH=x64_x86 electron-builder -w=nsis --x64 --ia32 -p always", |
| 22 | + "publish:win:portable": "npm run publish:win:portable:x64_x86 && npm run publish:win:portable:x64 && npm run publish:win:portable:x86", |
| 23 | + "publish:win:portable:x64_x86": "cross-env TARGET=portable ARCH=x64_x86 electron-builder -w=portable --x64 --ia32 -p onTagOrDraft", |
| 24 | + "publish:win:portable:x64": "cross-env TARGET=portable ARCH=x64 electron-builder -w=portable --x64 -p onTagOrDraft", |
| 25 | + "publish:win:portable:x86": "cross-env TARGET=portable ARCH=x86 electron-builder -w=portable --ia32 -p onTagOrDraft", |
| 26 | + "publish:win:7z": "npm run publish:win:7z:x64 && npm run publish:win:7z:x86", |
| 27 | + "publish:win:7z:x64": "cross-env TARGET=green ARCH=x64 electron-builder -w=7z --x64 -p onTagOrDraft", |
| 28 | + "publish:win:7z:x86": "cross-env TARGET=green ARCH=x86 electron-builder -w=7z --ia32 -p onTagOrDraft", |
10 | 29 | "pack:linux": "node build-config/pack.js && electron-builder -l", |
11 | 30 | "pack:dir": "node build-config/pack.js && electron-builder --dir", |
12 | 31 | "dev": "node build-config/runner-dev.js", |
|
37 | 56 | "win": { |
38 | 57 | "icon": "src/static/icons/lunch.ico", |
39 | 58 | "legalTrademarks": "lyswhut", |
40 | | - "target": [ |
41 | | - { |
42 | | - "arch": [ |
43 | | - "ia32", |
44 | | - "x64" |
45 | | - ], |
46 | | - "target": "nsis" |
47 | | - } |
48 | | - ] |
| 59 | + "artifactName": "${productName} v${version} ${env.ARCH} ${env.TARGET}.${ext}" |
49 | 60 | }, |
50 | 61 | "linux": { |
51 | 62 | "target": [ |
|
76 | 87 | "language": "2052", |
77 | 88 | "allowToChangeInstallationDirectory": true, |
78 | 89 | "differentialPackage": true, |
79 | | - "license": "./license.rtf" |
| 90 | + "license": "./license.rtf", |
| 91 | + "shortcutName": "lx-music" |
80 | 92 | }, |
81 | 93 | "publish": [ |
82 | 94 | { |
|
90 | 102 | "type": "git", |
91 | 103 | "url": "git+https://github.com/lyswhut/lx-music-desktop.git" |
92 | 104 | }, |
93 | | - "keywords": [], |
94 | | - "author": "lyswhut", |
| 105 | + "keywords": [ |
| 106 | + "music-player", |
| 107 | + "electron-app", |
| 108 | + "vuejs2" |
| 109 | + ], |
| 110 | + "author": { |
| 111 | + "name": "lyswhut", |
| 112 | + "email": "lyswuhut@qq.com" |
| 113 | + }, |
95 | 114 | "license": "Apache-2.0", |
96 | 115 | "bugs": { |
97 | 116 | "url": "https://github.com/lyswhut/lx-music-desktop/issues" |
|
0 commit comments