diff --git a/appinstaller/main.cpp b/appinstaller/main.cpp index 96bb578..c2c108f 100644 --- a/appinstaller/main.cpp +++ b/appinstaller/main.cpp @@ -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 appids; for (auto &it : g_pkginfo) for (auto &it_s : it.applications) diff --git a/shared/html/js/pages.js b/shared/html/js/pages.js index f6b2770..0f3560a 100644 --- a/shared/html/js/pages.js +++ b/shared/html/js/pages.js @@ -495,7 +495,8 @@ if (!controls) return false; var checkbox = controls.querySelector(".checkbox input"); if (!checkbox) return false; - return checkbox.checked == true; + if (checkbox.disabled === true) return false; + return checkbox.checked === true || checkbox.checked + "" === "true"; } function noticeLoadSelectPage() {