Auto-update fails when Calendr kept at ~/Applications
Closed this issue · 4 comments
I keep all third party apps in an Applications folder in my Home folder. This seems to traumatise your update script (irrespective of what I say to your grant permissions prompt — change nothing and select /Applications, or change to ~/Applications).
EDIT: I was on v1.13.3. Mac OS 14.6.1
The update code will abort if you change the path, because it won't have permission to delete the old app.
No matter what you do, it will try to delete from /Applications
and will fail because your app is on ~/Applications
.
Previously I was just getting the location of your currently running app, but if you move it around, sometimes macOS gatekeeper will put it into quarantine and give me a random path like /Volumes/random-number/Calendr.app
, which breaks the entire update process.
I will try to improve this in two ways:
- Only fallback to
/Applications
if the system gives me a "corrupted" path. This will open the save panel in the correct place for you, if nothing goes wrong. - Always try to use the path that you selected. That way if the system messes up you can always select the correct location.
Thanks. I guess release for 1.14.1 will appear in due course (automatically 😉)...
Yeah, but it will still use the old updater, so you will have to do this one manually.
Tested. Works perfectly for me.