Bazaar/Updater : cleaned test application

git-svn-id: svn://ultimatepp.org/upp/trunk@3015 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2011-01-15 23:47:17 +00:00
parent 777fd2e0ba
commit 055f73a345

View file

@ -1,21 +1,22 @@
#include <Updater/Updater.h>
double GetMaxVersion(void)
{
return 1.6;
}
GUI_APP_MAIN
{
Updater updater;
updater
.SetMaxVersion(GetMaxVersion())
.SetMaxVersion(1.60)
.SetWebRoot("www.timberstruct.com/webupdater/updatertest")
.UpdateManual();
// run updater -- DON'T change this !
if(!updater.Run())
return;
// run the default prompts -- see Updater source code
// if you need some fine-grained control
if(!updater.DefaultPrompts())
return;
PromptOK("App version is 1.00");
}