* 連結目前所有已開的夜神模擬器 | * 連結目前所有已開的夜神模擬器 | ||||
async disconnect() | async disconnect() | ||||
* 事情做完了,停止所有連結 | |||||
* 事情做完了,停止所有連結 | |||||
範例 | |||||
--------- | |||||
let aa = new adb_ctrl({ | |||||
nox_path: "F:/Nox", | |||||
open_count: 1, | |||||
}); | |||||
aa.openNox([ | |||||
'atk01', | |||||
'atk02' | |||||
],function(){ | |||||
console.log("開完了"); | |||||
}); | |||||
await aa.connect(); | |||||
await aa.close_toram("atk01","atk02"); | |||||
await aa.disconnect(); |