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]".
This commit is contained in:
ThePedroo
2025-05-03 06:45:07 -03:00
parent 1b2f9f23e9
commit 3b07fb1d66

View File

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