You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
ea42fbea41
This commit fixes monitor information, which now is properly working and named, and also has proper status words.
20 lines
641 B
JavaScript
20 lines
641 B
JavaScript
import { exec } from './kernelsu.js'
|
|
|
|
const monitor_start = document.getElementById('monitor_start_button')
|
|
const monitor_stop = document.getElementById('monitor_stop_button')
|
|
const monitor_pause = document.getElementById('monitor_pause_button')
|
|
|
|
if (monitor_start) {
|
|
monitor_start.addEventListener('click', () => {
|
|
exec('/data/adb/modules/zygisksu/bin/zygisk-ptrace64 ctl start')
|
|
})
|
|
|
|
monitor_stop.addEventListener('click', () => {
|
|
exec('/data/adb/modules/zygisksu/bin/zygisk-ptrace64 ctl exit')
|
|
})
|
|
|
|
monitor_pause.addEventListener('click', () => {
|
|
exec('/data/adb/modules/zygisksu/bin/zygisk-ptrace64 ctl stop')
|
|
})
|
|
}
|