update get data priceslot

This commit is contained in:
thanawat saiyota 2026-06-16 11:30:23 +07:00
parent cd88d5aed9
commit 6a2f4e5945
5 changed files with 912 additions and 337 deletions

View file

@ -362,6 +362,16 @@ export async function executeCmd(command: string) {
}
}
export async function goToMachineHome() {
if (!getAdbInstance()) return;
try {
await executeCmd('input keyevent KEYCODE_HOME');
} catch (e) {
console.error('[goToMachineHome] error', e);
}
}
export async function disconnect() {
let instance = getAdbInstance();
if (instance) {