diff --git a/index.html b/index.html
index 8b088cc..5030926 100644
--- a/index.html
+++ b/index.html
@@ -91,6 +91,8 @@
type,
payload
}) => {
+ path="";
+
if (type == 'files') {
path = payload[0].path;
console.log("检测到文件:" + path)
@@ -98,13 +100,14 @@
}
reload()
})
+
function reload() {
chinese = [];
$('#device').empty();
$('#log').val('');
-
+
window.adb('adb devices', (stdout,error) => {
if(error==true){
log(stdout)