Add -norelaunch flag
This commit is contained in:
parent
213a2632d4
commit
ecf5d601c7
@ -200,7 +200,11 @@ namespace updater
|
||||
throw;
|
||||
}
|
||||
|
||||
utils::nt::relaunch_self();
|
||||
if (!utils::flags::has_flag("norelaunch"))
|
||||
{
|
||||
utils::nt::relaunch_self();
|
||||
}
|
||||
|
||||
throw update_cancelled();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user