test if update is available
Hello
First of all, I am new to Cocoa, so probably what I'm trying to do is easy, but it's due to my lack of knowledge...
That said, I have a wrapper application which launches a bundled application and then immediately quits (using [NSApp terminate:nil]).
I would like to include Sparkle in this wrapper (it's not going to be possible to include if for the bundled app itself), and I've implemented it without any issues: so long as I comment out the NSApp terminate line.
The wrapper itself has no windows, so I can use:
-(BOOL)
{
return YES;
}
to terminate the wrapper after the sparkle window is dismissed. This only works though, if there is actually an update. So want I really want to do is have some code that checks if there is an update available, and if not, then terminate the wrapper at the end.
I know this can probably be done with checkForUpdateI
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sparkle Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andy Matuschak
- Solved:
- Last query:
- Last reply: