mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
no message
This commit is contained in:
parent
6bf1eb5bde
commit
a0b8529606
1
electron/build.js
vendored
1
electron/build.js
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 |
Loading…
x
Reference in New Issue
Block a user