1 Commits

Author SHA1 Message Date
Bruce
319d13c2b1 Fix bugs. 2025-12-29 20:43:54 +08:00
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)

View File

@@ -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() {