1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00
AzurLaneAutoScript/deploy/installer.py

27 lines
648 B
Python
Raw Normal View History

from deploy.patch import patch_trust_env
patch_trust_env()
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):
2021-10-23 21:17:00 +08:00
def install(self):
2022-01-10 22:14:25 +08:00
try:
self.git_install()
2022-01-15 21:41:08 +08:00
self.alas_kill()
2022-01-10 22:14:25 +08:00
self.pip_install()
self.app_update()
2022-01-10 22:14:25 +08:00
self.adb_install()
except ExecutionError:
exit(1)
2021-10-23 21:17:00 +08:00
if __name__ == '__main__':
Installer().install()