Fix bugs.

This commit is contained in:
Bruce
2025-12-29 20:43:54 +08:00
parent 4d10da5630
commit 319d13c2b1
2 changed files with 4 additions and 1 deletions

View File

@@ -1623,6 +1623,8 @@ public ref class MainHtmlWnd: public System::Windows::Forms::Form, public IScrip
{
if (!(g_wcmdflags & (DWORD)CMDPARAM::SILENT))
{
auto launch_when_ready = (bool)InvokeCallScriptFunction ("getLaunchWhenReady");
if (!launch_when_ready) return;
std::vector <std::wnstring> appids;
for (auto &it : g_pkginfo)
for (auto &it_s : it.applications)