Add -norelaunch flag

This commit is contained in:
momo5502 2023-04-18 18:43:57 +02:00
parent 213a2632d4
commit ecf5d601c7

View File

@ -200,7 +200,11 @@ namespace updater
throw; throw;
} }
if (!utils::flags::has_flag("norelaunch"))
{
utils::nt::relaunch_self(); utils::nt::relaunch_self();
}
throw update_cancelled(); throw update_cancelled();
} }