add -noupdate flag [skip ci]
This commit is contained in:
parent
18937120b7
commit
4079334179
@ -475,7 +475,11 @@ namespace updater
|
|||||||
void post_start() override
|
void post_start() override
|
||||||
{
|
{
|
||||||
delete_old_file();
|
delete_old_file();
|
||||||
run_update();
|
|
||||||
|
if (!utils::flags::has_flag("noupdate"))
|
||||||
|
{
|
||||||
|
run_update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
component_priority priority() override
|
component_priority priority() override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user