From daddc980ec602da6d231f89af7c459bc6c0060f7 Mon Sep 17 00:00:00 2001 From: ThePedroo Date: Thu, 25 Jul 2024 03:15:19 -0300 Subject: [PATCH] fix: error upon loading Web UI This commit fixes issues that caused the Web UI to not load. --- webroot/js/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webroot/js/main.js b/webroot/js/main.js index a858a37..2eab149 100644 --- a/webroot/js/main.js +++ b/webroot/js/main.js @@ -63,9 +63,9 @@ export function setErrorData(errorLog) { /* INFO: Root implementation and ReZygisk version parsing */ code_version.innerHTML = lines[0].split('Tracer ')[1].split('-')[0] - root_impl.innerHTML = lines[4].split(': ')[1] + root_impl.innerHTML = lines[3].split(': ')[1] - if (lines[5].split(': ')[1] === 'yes') { + if (lines[4].split(': ')[1] === 'yes') { zygote64_status_div.innerHTML = translations.page.home.info.zygote.injected } else { zygote64_status_div.innerHTML = translations.page.home.info.zygote.notInjected @@ -88,9 +88,9 @@ export function setErrorData(errorLog) { /* INFO: Root implementation and ReZygisk version parsing -- Necessary if 64-bit fails */ code_version.innerHTML = lines[0].split('Tracer ')[1].split('-')[0] - root_impl.innerHTML = lines[4].split(': ')[1] + root_impl.innerHTML = lines[3].split(': ')[1] - if (lines[5].split(': ')[1] === 'yes') { + if (lines[4].split(': ')[1] === 'yes') { zygote32_status_div.innerHTML = translations.page.home.info.zygote.injected } else { zygote32_status_div.innerHTML = translations.page.home.info.zygote.notInjected