mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 17:45:12 +00:00
fix: adapt for BA
This commit is contained in:
parent
6cbc4f0788
commit
b9e0cc3026
@ -863,8 +863,8 @@ class Connection(ConnectionAttr):
|
||||
|
||||
# Auto package detection
|
||||
if len(packages) == 0:
|
||||
logger.critical(f'No Star Rail package found, '
|
||||
f'please confirm Star Rail has been installed on device "{self.serial}"')
|
||||
logger.critical(f'No Blue Archive package found, '
|
||||
f'please confirm Blue Archive has been installed on device "{self.serial}"')
|
||||
raise RequestHumanTakeover
|
||||
if len(packages) == 1:
|
||||
logger.info('Auto package detection found only one package, using it')
|
||||
@ -877,6 +877,6 @@ class Connection(ConnectionAttr):
|
||||
# set_server(self.package)
|
||||
else:
|
||||
logger.critical(
|
||||
f'Multiple Star Rail packages found, auto package detection cannot decide which to choose, '
|
||||
f'Multiple Blue Archive packages found, auto package detection cannot decide which to choose, '
|
||||
'please copy one of the available devices listed above to Alas.Emulator.PackageName')
|
||||
raise RequestHumanTakeover
|
||||
|
||||
Loading…
Reference in New Issue
Block a user