mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
Updater: Display a more helpful message if ran manually
This commit is contained in:
parent
7fde0d93a6
commit
472f1c1c6b
|
@ -29,7 +29,9 @@ int wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int
|
||||||
}
|
}
|
||||||
if (argc != 4)
|
if (argc != 4)
|
||||||
{
|
{
|
||||||
progress.ModalError("Expected 4 arguments: parent process id, output directory, update zip, program to launch.");
|
progress.ModalError("Expected 4 arguments: parent process id, output directory, update zip, program to "
|
||||||
|
"launch.\n\nThis program is not intended to be ran manually, please use the Qt frontend and "
|
||||||
|
"click Help->Check for Updates.");
|
||||||
LocalFree(argv);
|
LocalFree(argv);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue