wangkun 2 năm trước cách đây
mục cha
commit
b5974af401
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      main/zqttk_recommend.py

+ 2 - 0
main/zqttk_recommend.py

@@ -110,6 +110,8 @@ class Recommend:
             cls.quit(log_type, driver)
         except Exception as e:
             Common.logger(log_type).error('start_wechat异常:{}\n', e)
+            cmd = "cd ~ && source ./base_profile && adb kill-server && adb start-server"
+            os.system(cmd)
 
     # 退出 APP
     @classmethod