no message

This commit is contained in:
kuaifan 2022-04-01 05:53:16 +08:00
parent 6bf1eb5bde
commit a0b8529606
3 changed files with 18 additions and 0 deletions

1
electron/build.js vendored
View File

@ -109,6 +109,7 @@ function startBuild(data, publish) {
econfig.build.appId = data.id; econfig.build.appId = data.id;
econfig.build.artifactName = utils.getDomain(data.url) + "-v${version}-${os}-${arch}.${ext}"; econfig.build.artifactName = utils.getDomain(data.url) + "-v${version}-${os}-${arch}.${ext}";
econfig.build.nsis.artifactName = utils.getDomain(data.url) + "-v${version}-${os}-${arch}.${ext}"; econfig.build.nsis.artifactName = utils.getDomain(data.url) + "-v${version}-${os}-${arch}.${ext}";
econfig.build.pkg.mustClose = [data.id];
if (!process.env.APPLEID || !process.env.APPLEIDPASS) { if (!process.env.APPLEID || !process.env.APPLEIDPASS) {
delete econfig.build.afterSign; delete econfig.build.afterSign;
} }

View File

@ -76,6 +76,13 @@
"arm64" "arm64"
] ]
}, },
{
"target": "pkg",
"arch": [
"x64",
"arm64"
]
},
{ {
"target": "dmg", "target": "dmg",
"arch": [ "arch": [
@ -107,6 +114,16 @@
"oneClick": false, "oneClick": false,
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}", "artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"allowToChangeInstallationDirectory": true "allowToChangeInstallationDirectory": true
},
"pkg": {
"installLocation": "/Applications",
"mustClose": [],
"allowAnywhere": true,
"allowCurrentUserHome": true,
"allowRootDirectory": true,
"isVersionChecked": true,
"isRelocatable": false,
"overwriteAction": "upgrade"
} }
}, },
"config": { "config": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 98 KiB