vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.51k stars 99 forks source link

v5.0.2 macOS arm build damaged #536

Closed prestr closed 2 years ago

prestr commented 2 years ago

@vladimiry I just downloaded the new v5.0.2 builds on my M1.

electron-mail-5.0.2-mac-x64.dmg - Working fine electron-mail-5.0.2-mac-arm64.dmg - macOS reports the file is damaged (I have deleted and re-downloaded the file but same error appears).

Screen Shot 2022-07-28 at 2 38 15 PM

vladimiry commented 2 years ago

Does the build shared in the https://github.com/vladimiry/ElectronMail/issues/357#issuecomment-1185246559 message work?

vladimiry commented 2 years ago

@badwulfy / @ylluminate can you test the released build?

I believe that the only change in comparison with a previously shared working build is updated @electron & electron-builder and that can potentially be the issue cause (especially the electron-builder as it's how the app gets packaged).

prestr commented 2 years ago

No it did not so it got me thinking and I found a solution.

Ran the following in Terminal and now it's working fine.

xattr -d com.apple.quarantine /Applications/ElectronMail.app

vladimiry commented 2 years ago

xattr -d com.apple.quarantine /Applications/ElectronMail.app

Yes, that was mentioned in https://github.com/vladimiry/ElectronMail/issues/357#issuecomment-1185343048, and I missed putting a note into the release description (doing now).

prestr commented 2 years ago

Ah yes, I see that was mentioned now. 👍

vladimiry commented 2 years ago

Btw, it looks like Apple should make an effort toward improving this error message.

ylluminate commented 2 years ago

@badwulfy / @ylluminate can you test the released build?

Works great! No visible issues at all.