From: Francesco M. <f18...@ya...> - 2007-09-17 22:40:11
|
Hi, Christian Buhtz ha scritto: > I found no contact to the dev (Francesco Montorsi) of WebUpdate. sorry - maybe I lost your mails catched by the SPAM filter... > I want to ask how my application can know if an update is available? you need to tweak a bit wxWebUpdate internals... you could add a --query option to WebUpdate which silently returns 0 if an update is available and 1 if not. Then from your app you could wxExecute("webupdater.exe --query"); and look for the return code... > I am not sure but am I right to think that WebUpdate need to run > explicite to know if an update is available? currently yes, but I agree yours is a common need and I'd gladly accept a patch which adds an option like --query (or if you have better ideas to accomplish it please let me know). Francesco |