From 3b07fb1d66cd6cf94df59b3b89168f58202f6bf4 Mon Sep 17 00:00:00 2001 From: ThePedroo Date: Sat, 3 May 2025 06:45:07 -0300 Subject: [PATCH] fix: WebUI loaded modules list parsing This commit fixes the code that parses the loaded modules from ReZygisk "module.prop", which previously would only load the first module as it used "info[1]". --- webroot/js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webroot/js/main.js b/webroot/js/main.js index d4fa01b..c30704f 100644 --- a/webroot/js/main.js +++ b/webroot/js/main.js @@ -124,7 +124,9 @@ async function getModuleNames(modules) { const info = area.substring(1, area.length - 1).split(', ') const rootImpl = info[0].substring('Root: '.length) - const modules = info[1].substring('Modules: '.length).split(', ') + + info[1] = info[1].substring('Modules: '.length) + const modules = info.slice(1, info.length) ReZygiskInfo.rootImpl = rootImpl if (modules[0] !== 'None') daemonModules.push(modules)