electron / update-electron-app

🌲 A drop-in module that adds autoUpdating capabilities to Electron apps
MIT License
736 stars 131 forks source link

Feature to Handle *TWO* Zip files for Mac Updates (Intel and Apple Silicon) #73

Open tazzben opened 3 years ago

tazzben commented 3 years ago

Hi All,

As I'm sure you know, we all need to build two versions for the mac right now due to the Intel and Apple Silicon versions. This means that a release might look something like this:

https://github.com/tazzben/Assessment-Disaggregation/releases/tag/v0.7.0

Right now, the updater appears to just grab a zip file. In the case above, the Intel macs updated with the Apple Silicon version and thus broke the app (people can just re-download, so not the end of the world). However, it seems there should be a way to handle this. Maybe by specifying the architecture in the file name.

erickzhao commented 3 years ago

Related: https://github.com/electron/update.electronjs.org/pull/84