From 30e0b31cf491cd4f9762b6c9ee5386656a8eb2d0 Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 1 Sep 2022 16:31:30 +0000 Subject: [PATCH] update package.json. Signed-off-by: shenmo --- package.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ce613c3..a4ad2a2 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,9 @@ ], "title": "wewechat ${version}" }, + "mac": { + "icon": "../resource/dock.icns" + }, "linux": { "icon": "../resource", "category": "Chat", @@ -59,13 +62,22 @@ "AppImage" ] }, + "win": { + "target": "nsis" + }, + "nsis": { + "oneClick": false, + "allowToChangeInstallationDirectory": true, + "artifactName": "${productName}-${version}-${os}-${arch}-setup.${ext}", + "deleteAppDataOnUninstall": true + }, "directories": { "output": "../release" }, "publish": [ { "provider": "github", - "owner": "spark-community-works-collections", + "owner": "riceneeder", "repo": "weweChat" } ]