Compare commits

...

2 Commits

Author SHA1 Message Date
Martin Chrzan
29ea95a6b0 Fixed module name 2020-07-31 15:02:03 +02:00
Andrey Nekrasov
6fafb0150e autoupdate: set app_id in time for download_update to use it (#5346) 2020-07-31 13:48:16 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
STRINGTABLE
BEGIN
IDS_LAUNCHER_NAME L"Color Picker"
IDS_LAUNCHER_NAME L"ColorPicker"
IDS_LAUNCHER_SETTINGS_DESC L"This feature requires Windows 10 version 1903 or higher"
END

View File

@@ -114,7 +114,6 @@ int runner(bool isProcessElevated)
} }.detach();
}
notifications::set_application_id(APPLICATION_ID);
notifications::register_background_toast_handler();
chdir_current_executable();
@@ -306,6 +305,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
{
return 0;
}
notifications::set_application_id(APPLICATION_ID);
int n_cmd_args = 0;
LPWSTR* cmd_arg_list = CommandLineToArgvW(GetCommandLineW(), &n_cmd_args);