ultimatepp/bazaar/UpdaterTest/UpdaterTest.cpp
micio 62425a5000 Bazaar/UpdaterTest : fix on maximum version
git-svn-id: svn://ultimatepp.org/upp/trunk@3012 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-15 21:44:18 +00:00

22 lines
325 B
C++

#include <Updater/Updater.h>
double GetMaxVersion(void)
{
return 1.6;
}
GUI_APP_MAIN
{
Updater updater;
updater
.SetMaxVersion(GetMaxVersion())
.SetWebRoot("www.timberstruct.com/webupdater/updatertest")
.UpdateManual();
if(!updater.Run())
return;
PromptOK("App version is 1.00");
}