Squirrel / Squirrel.Mac

:shipit: Cocoa framework for updating OS X apps :shipit:
MIT License
1.57k stars 128 forks source link

Error using the auto update #228

Open benoist opened 6 years ago

benoist commented 6 years ago

A lot my users are reporting an error when trying to update the app.

It throws a code 8 with domain SQRLUpdaterError....

Any idea what this can be? Or how I can debug this further? It doesn't happen on my machine so I have no way to reproduce it and I don't know what the error means.

Thanks in advance!

joshaber commented 6 years ago

Hi @benoist, it looks like that's the error code for when the app is running on a readonly volume. That most commonly happens after the app's been downloaded but hasn't been moved, and so it's kept in quarantine. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information.

https://github.com/Squirrel/Squirrel.Mac/blob/2a001cc575f6278cef3567690a99ab3a76a021cb/Squirrel/SQRLUpdater.m#L36-L37