Skip to content

Commit

Permalink
fix(build): electron support builder mac x64&arm64 arch
Browse files Browse the repository at this point in the history
  • Loading branch information
weiweiwei256 committed Jun 4, 2024
1 parent b540157 commit c394487
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}
],
"productName": "MegSpot",
"artifactName": "${productName}-${version}-${os}.${ext}",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"appId": "org.megvii.megspot",
"copyright": " Copyright (c) 2022 Megvii Inc. All rights reserved.",
"releaseInfo": {
Expand Down Expand Up @@ -79,6 +79,10 @@
"target": [
"zip",
"dmg"
],
"arch": [
"x64",
"arm64"
]
},
"win": {
Expand Down Expand Up @@ -232,4 +236,4 @@
"node": "16.20.2",
"yarn": "1.22.21"
}
}
}

0 comments on commit c394487

Please sign in to comment.