mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +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();
|
} }.detach();
|
||||||
}
|
}
|
||||||
|
|
||||||
notifications::set_application_id(APPLICATION_ID);
|
|
||||||
notifications::register_background_toast_handler();
|
notifications::register_background_toast_handler();
|
||||||
|
|
||||||
chdir_current_executable();
|
chdir_current_executable();
|
||||||
@@ -306,6 +305,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
notifications::set_application_id(APPLICATION_ID);
|
||||||
|
|
||||||
int n_cmd_args = 0;
|
int n_cmd_args = 0;
|
||||||
LPWSTR* cmd_arg_list = CommandLineToArgvW(GetCommandLineW(), &n_cmd_args);
|
LPWSTR* cmd_arg_list = CommandLineToArgvW(GetCommandLineW(), &n_cmd_args);
|
||||||
|
|||||||
Reference in New Issue
Block a user