修改构建命令

This commit is contained in:
lyswhut
2021-01-20 14:55:34 +08:00
parent e8dba4d133
commit 43b06a686b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ npm run dev
npm run pack:dir
# 构建安装包(Windows版)
npm run pack
npm run pack:win
# 构建安装包(Mac版)
npm run pack:mac
+2 -2
View File
@@ -5,8 +5,8 @@
"main": "./dist/electron/main.js",
"productName": "lx-music-desktop",
"scripts": {
"pack": "node build-config/pack.js && npm run pack:win",
"pack:win": "npm run pack:win:setup:x86_64 && npm run pack:win:7z",
"pack": "npm run pack:win",
"pack:win": "node build-config/pack.js && npm run pack:win:setup:x86_64 && npm run pack:win:7z",
"pack:win:setup:x86_64": "cross-env TARGET=win_安装版 ARCH=x86_64 electron-builder -w=nsis --x64 --ia32",
"pack:win:setup:x64": "cross-env TARGET=win_安装版 ARCH=x64 electron-builder -w=nsis --x64",
"pack:win:setup:x86": "cross-env TARGET=win_安装版 ARCH=x86 electron-builder -w=nsis --ia32",