Restart helper applications after Sparkle update? #2621
Replies: 2 comments
-
It seems Sparkle doesn't automatically handle this. I've solved by using:
|
Beta Was this translation helpful? Give feedback.
-
Using updaterWillRelaunchApplication is not advised in this context and may not work in all cases. You should handle this yourself when your app quits and is next launched, and not depend on Sparkle. Users can update your app manually too, without Sparkle intervention. Sparkle can install updates on quit without user explicitly relaunching the app. Other app updaters could try to update your app. Etc. XPC Service helpers, for example, terminate when the main app process terminates. |
Beta Was this translation helpful? Give feedback.
-
I have an application, let's say called
MyApp.app
within that application bundle in theContents/Helpers
folder is two other helper applications. When I updateMyApp.app
using Sparkle, does Sparkle automatically handle the closing of those Helper applications, or do I need to add some logic of my own to make that happen?Beta Was this translation helpful? Give feedback.
All reactions