1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-16 23:29:28 +08:00

Fix:Missing s in the directory of customer config,json

This commit is contained in:
xhqss
2024-08-17 13:35:27 +08:00
parent 60c21b930f
commit 14d1b739f3

View File

@@ -536,7 +536,7 @@ class NemuIpc(Platform):
index = NemuIpcImpl.serial_to_id(self.serial)
if index is not None:
file = os.path.abspath(os.path.join(
self.config.EmulatorInfo_path, f'../../vms/MuMuPlayer-12.0-{index}/config/customer_config.json'))
self.config.EmulatorInfo_path, f'../../vms/MuMuPlayer-12.0-{index}/configs/customer_config.json'))
if self.check_mumu_app_keep_alive_400(file):
return True
@@ -545,7 +545,7 @@ class NemuIpc(Platform):
logger.warning('Failed to check check_mumu_app_keep_alive as emulator_instance is None')
return False
name = self.emulator_instance.name
file = self.emulator_instance.emulator.abspath(f'../vms/{name}/config/customer_config.json')
file = self.emulator_instance.emulator.abspath(f'../vms/{name}/configs/customer_config.json')
if self.check_mumu_app_keep_alive_400(file):
return True