Sparkle icon indicating copy to clipboard operation
Sparkle copied to clipboard

Updating Helper and Daemon

Open shallad opened this issue 10 years ago • 3 comments

My Mac application consists of a .app and a helper. I am also having daemon running background. I would like to add auto update capabilities to all these components. Currently it is installed through pkg. Is there any way using sparkle or any other tool to auto update these components individually.

shallad avatar Jan 28 '14 12:01 shallad

If you put code of the helper/daemon inside resources of your .app, then just the app update could update all of them (you might need to use Sparkle's delegate methods in the app to stop/restart helper&daemon yourself though)

Does that help?

kornelski avatar Jun 30 '14 00:06 kornelski

@kornelski : I am also facing a similar issue.

We have a .pkg file which consists of a command line tool (runs as a root) and a cocoa app (runs in a user space). We have integrated Sparkle.framework in a cocoa app to update the .pkg file. While updating the .pkg file, it always asks user for password.

Does Sparkle supports non GUI application? (The reason being asked is, we are thinking to integrate Sparkle.framework in command line tool app) Is there any way to update the .pkg file silently (i.e. without asking password)?

Gayatri-N avatar Mar 14 '19 11:03 Gayatri-N

We don't support non-GUI applications. We don't support pkg installations without asking for password.

You should put the command line tool in the app bundle in .app/Contents/MacOS/ and if it has to be elsewhere, then copy or symlink it from the running app.

kornelski avatar Mar 14 '19 13:03 kornelski