Skip to content

Commit

Permalink
autoupdate: set app_id in time for download_update to use it (#5346)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoyuppe authored and enricogior committed Jul 31, 2020
1 parent de67fff commit 6fafb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ int runner(bool isProcessElevated)
} }.detach();
}

notifications::set_application_id(APPLICATION_ID);
notifications::register_background_toast_handler();

chdir_current_executable();
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6fafb01

Please sign in to comment.