AzurLaneAutoScript/deploy/installer.py
2023-04-19 22:24:08 +08:00

27 lines
638 B
Python

from deploy.patch import pre_checks
pre_checks()
from deploy.adb import AdbManager
from deploy.alas import AlasManager
from deploy.app import AppManager
from deploy.config import ExecutionError
from deploy.git import GitManager
from deploy.pip import PipManager
class Installer(GitManager, PipManager, AdbManager, AppManager, AlasManager):
def install(self):
try:
self.git_install()
self.alas_kill()
self.pip_install()
self.app_update()
self.adb_install()
except ExecutionError:
exit(1)
if __name__ == '__main__':
Installer().install()