feat: paliminary updater

- can check for need to update
- can select a version to update to
- perform update: TODO

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-05-30 23:03:44 -07:00
parent 954d4d701a
commit 1c91d2f242
13 changed files with 1122 additions and 3 deletions

View File

@@ -26,5 +26,17 @@ int main(int argc, char* argv[])
{
FileLinkApp ldh(argc, argv);
return ldh.exec();
switch(ldh.status()) {
case FileLinkApp::Starting:
case FileLinkApp::Initialized:
{
return ldh.exec();
}
case FileLinkApp::Failed:
return 1;
case FileLinkApp::Succeeded:
return 0;
default:
return -1;
}
}