Skip to content

Commit

Permalink
暂时去掉moduleInfo api的调用
Browse files Browse the repository at this point in the history
  • Loading branch information
powerAn2020 committed Dec 6, 2024
1 parent 165e408 commit 26ceb68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui-src/src/tools.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exec, spawn,moduleInfo } from 'kernelsu';
import { exec, spawn } from 'kernelsu';
import {Buffer} from 'buffer'
export const MODDIR = '/data/adb/modules/ZeroTierForKSU'
export const ZTPATH = '/data/adb/zerotier'
Expand All @@ -14,7 +14,7 @@ export const execCmd = async (cmd) => {
console.error(stderr)
}
}
console.info(moduleInfo())
// console.info(moduleInfo())
export const execCmdWithErrno = async (cmd) => {
console.info(cmd)
const { errno, stdout, stderr} = await exec(cmd, { cwd: '/' });
Expand Down

0 comments on commit 26ceb68

Please sign in to comment.