electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

32-bit program updates will download other versions of the program.

Open bzw1204 opened this issue 6 months ago • 3 comments

  • Electron-Builder Version: 22.3.16
  • Node Version: 16.20.1
  • Electron Version: 22.3.16
  • Electron Type (current, beta, nightly):
  • Target: Windows 10

When I was testing the update, I found that the 32-bit version downloaded a 64-bit update program. By tracing the source code, I discovered that the logic here is to download any program listed as the first item in the "latest.yml" file, rather than downloading the update program based on the current program version. I would like to know what considerations were made for this and if there is any configuration that can solve this issue.

image image

bzw1204 avatar Dec 13 '23 01:12 bzw1204

maybe we can use process.arch to detect current platform

psilogroup avatar Jan 05 '24 18:01 psilogroup

maybe we can use process.arch to detect current platform

Yes, I also think so.

bzw1204 avatar Jan 12 '24 06:01 bzw1204

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Mar 13 '24 00:03 github-actions[bot]