mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Chore: [ALAS] Rename to list_known_packages
This commit is contained in:
parent
9fe20e993c
commit
9a55d4fe7c
@ -850,7 +850,7 @@ class Connection(ConnectionAttr):
|
||||
packages = re.findall(r'package:([^\s]+)', output)
|
||||
return packages
|
||||
|
||||
def list_azurlane_packages(self, show_log=True):
|
||||
def list_known_packages(self, show_log=True):
|
||||
"""
|
||||
Args:
|
||||
show_log:
|
||||
@ -867,7 +867,7 @@ class Connection(ConnectionAttr):
|
||||
Show all possible packages with the given keyword on this device.
|
||||
"""
|
||||
logger.hr('Detect package')
|
||||
packages = self.list_azurlane_packages()
|
||||
packages = self.list_known_packages()
|
||||
|
||||
# Show packages
|
||||
logger.info(f'Here are the available packages in device "{self.serial}", '
|
||||
|
@ -267,7 +267,7 @@ class PlatformWindows(PlatformBase, EmulatorManager):
|
||||
show_ping(pong)
|
||||
|
||||
# Check azuelane package
|
||||
packages = self.list_azurlane_packages(show_log=False)
|
||||
packages = self.list_known_packages(show_log=False)
|
||||
if len(packages):
|
||||
pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user