mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-31 06:12:22 -06:00
22 lines
325 B
C++
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");
|
|
|
|
}
|
|
|