mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
autoupdate: set app_id in time for download_update to use it (#5346)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user