From 472f1c1c6b6090856178ada3333c0b173c54fc59 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 7 Aug 2020 03:40:19 +1000 Subject: [PATCH] Updater: Display a more helpful message if ran manually --- src/updater/win32_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/updater/win32_main.cpp b/src/updater/win32_main.cpp index 6bdea1dea..5898cc555 100644 --- a/src/updater/win32_main.cpp +++ b/src/updater/win32_main.cpp @@ -29,7 +29,9 @@ int wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int } 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); return 1; }