Caner 8 months ago
parent
commit
190bdebbfd
1 changed files with 4 additions and 1 deletions
  1. 4 1
      main.py

+ 4 - 1
main.py

@@ -9,11 +9,14 @@ import threading
 BUNDLE_ID = 'com.laiwang.DingTalk'
 BUNDLE_ID = 'com.laiwang.DingTalk'
 
 
 def channel():
 def channel():
+    # pymobiledevice3 remote start-tunnel
     while True:
     while True:
-        RemoteService.connect("127.0.0.1")
+        RemoteService.connect()
 
 
 if __name__ == '__main__':
 if __name__ == '__main__':
     try:
     try:
+        # 启动隧道服务线程
+
         # 连接手机
         # 连接手机
         lockdown = create_using_usbmux()
         lockdown = create_using_usbmux()
         print("开发者模式",lockdown.developer_mode_status)
         print("开发者模式",lockdown.developer_mode_status)