add -noupdate flag [skip ci]

This commit is contained in:
m 2025-04-14 18:27:30 -05:00
parent 18937120b7
commit 4079334179

View File

@ -475,7 +475,11 @@ namespace updater
void post_start() override
{
delete_old_file();
run_update();
if (!utils::flags::has_flag("noupdate"))
{
run_update();
}
}
component_priority priority() override