INNER CODE UNIT · JavaScript

_getReZygiskState

PerformanC/ReZygisk · webroot/js/pages/modules/index.js:6

async function _getReZygiskState() {
  let stateCmd = await exec('/system/bin/cat /data/adb/rezygisk/state.json')
  if (stateCmd.errno !== 0) {
    toast('Error getting state of ReZygisk!')

    return;
  }

  try {
    const ReZygiskState = JSON.parse(stateCmd.stdout)
    return ReZygiskState
  } catch {
    return null;
  }
}

async function _getModuleNames(modules) {
  const fullCommand = modules.map((mod) => {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…