fix: misinterpreted state.json Zygote injection information

This commit fixes the incorrect interpretation of the "state.json"'s Zygote injection information.
This commit is contained in:
ThePedroo
2025-08-13 21:50:40 -03:00
parent e6344d2e12
commit 70805bb390

View File

@@ -164,14 +164,14 @@ async function getModuleNames(modules) {
zygote_divs[0].style.display = 'block'
switch (zygote64) {
case 0: {
case 1: {
zygote_status_divs[0].innerHTML = translations.page.home.info.zygote.injected
actuallyWorking++
break
}
case 1: zygote_status_divs[0].innerHTML = translations.page.home.info.zygote.notInjected; break
case 0: zygote_status_divs[0].innerHTML = translations.page.home.info.zygote.notInjected; break
default: zygote_status_divs[0].innerHTML = translations.page.home.info.zygote.unknown
}
}
@@ -182,14 +182,14 @@ async function getModuleNames(modules) {
zygote_divs[1].style.display = 'block'
switch (zygote32) {
case 0: {
case 1: {
zygote_status_divs[1].innerHTML = translations.page.home.info.zygote.injected
actuallyWorking++
break
}
case 1: zygote_status_divs[1].innerHTML = translations.page.home.info.zygote.notInjected; break
case 0: zygote_status_divs[1].innerHTML = translations.page.home.info.zygote.notInjected; break
default: zygote_status_divs[1].innerHTML = translations.page.home.info.zygote.unknown
}
}