Can't use didFinishUpdateCycleForUpdateCheck #2391
-
Description of the problemI am integrating our MacOS app with Sparkle and everything works properly. However, I now want to introduce a callback whenever the app is updated. I found out in the docs that I can do something like this:
However, this callback is never executed. What am I doing wrong? Do you use Sandboxing in your app?No Version of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It won’t be called in this case for an app updating itself and having been relaunched. Why do you want to know when an update is installed and what are you actually trying to do? What do you do when the user updates your app manually, not using Sparkle? Or if an update is installed silently without the user knowing. |
Beta Was this translation helpful? Give feedback.
Since the user can update your app independently from Sparkle I suggest doing it another way. This is one reason why we haven’t exposed an API for when an app updates/relaunches itself. It becomes a double edge sword when it should not be used in cases like this.