From 43b06a686b18f34b7cbf2b369620ca30e6a5f860 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 20 Jan 2021 14:55:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9E=84=E5=BB=BA=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1905434b..1820fc76 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ npm run dev npm run pack:dir # 构建安装包(Windows版) -npm run pack +npm run pack:win # 构建安装包(Mac版) npm run pack:mac diff --git a/package.json b/package.json index 16240e49..70e07932 100644 --- a/package.json +++ b/package.json @@ -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",