From 6332bda929cd2c3bfd77fc90e93401eb5654b85f Mon Sep 17 00:00:00 2001 From: zw <12345678> Date: Thu, 14 Aug 2025 15:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E7=82=B9=E5=B0=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/Variables.py | 1 - Module/DeviceInfo.py | 2 +- Utils/ControlUtils.py | 4 +--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Entity/Variables.py b/Entity/Variables.py index 9ce4fd7..b65e7c5 100644 --- a/Entity/Variables.py +++ b/Entity/Variables.py @@ -3,7 +3,6 @@ from typing import Dict, Any from Entity.AnchorModel import AnchorModel -tikTokApp = "com.ss.iphone.ugc.Ame" # wda apple bundle id WdaAppBundleId = "com.vv.wda.xctrunner" # 全局主播列表 diff --git a/Module/DeviceInfo.py b/Module/DeviceInfo.py index ac54631..11c4fe0 100644 --- a/Module/DeviceInfo.py +++ b/Module/DeviceInfo.py @@ -4,7 +4,7 @@ import time import wda from tidevice import Usbmux from Entity.DeviceModel import DeviceModel -from Entity.Variables import tikTokApp, WdaAppBundleId +from Entity.Variables import WdaAppBundleId from Module.FlaskSubprocessManager import FlaskSubprocessManager from Utils.LogManager import LogManager diff --git a/Utils/ControlUtils.py b/Utils/ControlUtils.py index f14bd1d..9989c21 100644 --- a/Utils/ControlUtils.py +++ b/Utils/ControlUtils.py @@ -1,7 +1,5 @@ import tidevice from wda import Client - -from Entity.Variables import tikTokApp from Utils.AiUtils import AiUtils from Utils.LogManager import LogManager @@ -37,7 +35,7 @@ class ControlUtils(object): currentApp = session.app_current() if currentApp != tk: - session.app_start(tikTokApp) + session.app_start(tk) # 关闭Tik Tok @classmethod