In OS X how can I automatically re-start my app after pulling down an updated version?
I've looked around some and launchd seems to be the likely way to do this, but I can't seem to get my head around it. I can't seem to find any good resources talking about this specifically either.
I could also create a script or separate process to do this, but that seems clunky at best, I'm expecting there is a better solution out there.
Separate process is good solution, look at Sparkle framework (most of apps use it for autoupdating), they also use for this standalone app - https://github.com/andymatuschak/Sparkle/blob/master/relaunch.m
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With