Skip to content

Additional unversial exe package is generated #8597

Closed
@qishibo

Description

@qishibo
  • Electron-Builder Version: 23.0.2
  • Node Version: v16.20.0
  • Electron Version:12.2.3
  • Electron Type (current, beta, nightly):
  • Target: {"target": "nsis", "arch": ["x64", "arm64"]}

if I build arm64 and x64 nsis target, and my build field like bellow

"win": {
  "target": [
    {"target": "nsis", "arch": ["x64", "arm64"]}
  ]
},
"nsis": {
  "artifactName": "${productName}-Setup-${version}-${arch}.${ext}",
}

after building I got 3 exes instead of 2(arm64 and x64), it seems that an universial package is generated, and its size is about 2 times bigger than arm64 and x64. I am quite confused about this, can I remove the universal version??

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions