Auto-updating the Mac beta


#1

Howdy everyone! I’ve been a Drafts user for a while, and the Mac app is already establishing an important place in my desktop workflow. Fantastic work so far, Greg.

Is there any chance the Mac app will move to Sparkle or a similar framework for auto-updating the beta? I love using the app, but the beta install-and-reinstall process is less than ideal. Thanks!


#2

The final app will only be distributed via the Mac App Store, so I have not taken time to incorporate other upgrade options solely for the beta. Perhaps sometime down the road, but there will be a production release in the App Store soon and that will be the best way keep current.


#3

Well, as I am wont to do, I wrote a shell script that I use to keep the Drafts beta up-to-date.

So far it has worked very well for me.

You can find it here:

https://github.com/tjluoma/di/blob/master/di-drafts.sh

It only uses tools which come with macOS by default, so you don’t need to download/install anything else.

I don’t know what your level of comfort/expertise is with dealing with shell scripts on macOS, but feel free to reply here if you need help getting it set up.

The best/easiest way to use it is to use a launchd plist which will run it automatically once or twice a day. I can put one together if that would help (I’m on my iPad at the moment or else I would have just attached one to this post).


#4

Thanks, Greg. That explanation makes sense.

And thanks for that script, tjluoma. It looks like it does exactly what I need.

If anyone else comes across this thread and wants an easy way to automate running that script, I use an app called Lingon 3 from the Mac App Store for easily creating plists like tjluoma described. In about 30 seconds, I had that script running on startup and every 4 hours.

Thanks again, everyone!