1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 13:17:00 +08:00

Add: [TW] MyCard channel server com.hkmanjuu.azurlane.gp.mc

- Fix: Package name detection in lower/upper case
This commit is contained in:
LmeSzinc
2022-04-20 00:05:50 +08:00
parent 18e58f8e82
commit 211a398911
9 changed files with 48 additions and 38 deletions

View File

@@ -577,7 +577,7 @@ class Connection:
"""
logger.hr('Detect package')
packages = self.list_package()
packages = [p for p in packages if any([k in p for k in keywords])]
packages = [p for p in packages if any([k in p.lower() for k in keywords])]
# Show packages
logger.info(f'Here are the available packages in device "{self.serial}", '