Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Mar 31, 2022
1 parent 6bf1eb5 commit a0b8529
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions electron/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ function startBuild(data, publish) {
econfig.build.appId = data.id;
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.pkg.mustClose = [data.id];
if (!process.env.APPLEID || !process.env.APPLEIDPASS) {
delete econfig.build.afterSign;
}
Expand Down
17 changes: 17 additions & 0 deletions electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@
"arm64"
]
},
{
"target": "pkg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "dmg",
"arch": [
Expand Down Expand Up @@ -107,6 +114,16 @@
"oneClick": false,
"artifactName": "${productName}-v${version}-${os}-${arch}.${ext}",
"allowToChangeInstallationDirectory": true
},
"pkg": {
"installLocation": "/Applications",
"mustClose": [],
"allowAnywhere": true,
"allowCurrentUserHome": true,
"allowRootDirectory": true,
"isVersionChecked": true,
"isRelocatable": false,
"overwriteAction": "upgrade"
}
},
"config": {
Expand Down
Binary file modified resources/assets/statics/public/images/logo-app.ico
Binary file not shown.

0 comments on commit a0b8529

Please sign in to comment.