Universal Auto-Update Upgrade?
I have a separate build for macOS x64 and arm that each have auto-updaters.
I now have a universal build, how can I update the users with either of the previous builds installed to auto-update with the universal build? Ideally moving the user install base over to the universal build to receive auto-updates from the universal auto-updater would be great.
I think should already work out-of-the-box based on this logic if universal builds are provided as the top entry in the app updater latest-mac.yml (I think). Is it not working for you? https://github.com/electron-userland/electron-builder/blob/899291193a8343636aa379df1da992c7bd8326fd/packages/electron-updater/src/MacUpdater.ts#L81-L87 https://github.com/electron-userland/electron-builder/blob/899291193a8343636aa379df1da992c7bd8326fd/packages/electron-updater/src/providers/Provider.ts#L83-L96 From the logic, it looks like we auto-install arm64 apps on arm64 (smaller download size), otherwise, if no arm64 asset is present in your release assets, it defaults to the first entry in the latest-mac.yml. Would you be willing to confirm that universal is the first entry in the release assets?
Oh, I've only tried with the universal being the only entry available which I don't think worked (unless it was just taking really long to download).
Lemme try with existing entry and universal at top...
@mmaietta do the entry names make a difference (such as higher version number) or is just based on order or the "path"? The universal zip has universal-mac in it and doesn't match the path name but does have the same version number.
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.
This issue was closed because it has been stalled for 30 days with no activity.