Qt: don't show updater if booted with cli arg

This commit is contained in:
Megamouse 2021-03-25 22:55:06 +01:00
parent 9d895e6b15
commit 9f80a55652
5 changed files with 12 additions and 4 deletions

View file

@ -720,6 +720,7 @@ int main(int argc, char** argv)
gui_app->SetShowGui(!s_no_gui);
gui_app->SetUseCliStyle(use_cli_style);
gui_app->SetWithCliBoot(parser.isSet(arg_installfw) || parser.isSet(arg_installpkg) || !parser.positionalArguments().isEmpty());
if (!gui_app->Init())
{