Replies: 1 comment 2 replies
-
That error is unrelated to running as root. Sparkle APIs (just like UI APIs) must be called on the main thread, not a background thread. Running apps or UI code or AppKit code as root is not properly supported by the OS. Sparkle "may" work but it's not really supported in that context. (That said, Sparkle can support running as root if the calling process has no AppKit/UI usage and a custom non-ui |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a sandbox app and use Sparkle 2.3 version. I know that sparkle can be fully silent when my app running with root permissions but I can't do it.
I thought to start Sparkle from my System Extension that my app included and it's running with root permissions but I'm getting this error when I calling updater.start():
SUUpdater -retriveFeedURL:error: must be called on the main thread for ...
I can't show the user any permission alert so privileged helper tool can't help me either.
How can I run Sparkle with standard user permission and don’t show the user any alerts?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions