simulator修正为emulator

This commit is contained in:
Elaina 2024-12-02 23:19:24 +08:00
parent 9668edd7d6
commit 4f38fa732c
8 changed files with 73 additions and 73 deletions

View file

@ -315,13 +315,13 @@ class RIICPart(ConfModel):
"信赖值阈值"
class SimulatorPart(ConfModel):
class SimulatorConf(ConfModel):
class EmulatorPart(ConfModel):
class EmulatorConf(ConfModel):
name: str = "MuMu12"
"名称"
index: str | int = "0"
"多开编号"
simulator_folder: str = ""
emulator_folder: str = ""
"文件夹"
wait_time: int = 30
"启动时间"
@ -346,7 +346,7 @@ class SimulatorPart(ConfModel):
adb: str = "127.0.0.1:16384"
"ADB连接地址"
simulator: SimulatorConf
emulator: EmulatorConf
"模拟器"
maa_adb_path: str = "D:\\Program Files\\Netease\\MuMu Player 12\\shell\\adb.exe"
"ADB路径"
@ -359,7 +359,7 @@ class SimulatorPart(ConfModel):
tap_to_launch_game: TapToLaunchGameConf
"点击屏幕启动游戏"
strategy_when_idle: Literal[
"do_nothing", "switch_to_home", "exit_game", "close_simulator"
"do_nothing", "switch_to_home", "exit_game", "close_emulator"
] = "switch_to_home"
fix_mumu12_adb_disconnect: bool = False
"关闭MuMu模拟器12时结束adb进程"
@ -402,7 +402,7 @@ class Conf(
RecruitPart,
RegularTaskPart,
RIICPart,
SimulatorPart,
EmulatorPart,
SKLandPart,
):
@property