From 40e1835fdff8c6558e3dfac6a4d15b0c4ffeecb0 Mon Sep 17 00:00:00 2001 From: 3136352472 <3136352472> Date: Mon, 20 Apr 2020 16:15:13 +0800 Subject: [PATCH] =?UTF-8?q?mac=E7=89=88=E6=9C=AC=E6=89=93=E5=8C=85?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c16b283..1a2c239 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "main": "main.js", "scripts": { "start": "electron .", - "package": "electron-packager ./ ouxuan.oa --out ./build --overwrite --icon=favicon" + "package": "electron-packager ./ ouxuan.oa --out ./build --overwrite --icon=favicon", + "package-mac": "electron-packager ./ ouxuan.oa --out ./build --overwrite --icon=favicon --platform=darwin" }, "devDependencies": { "electron": "^8.2.1",