mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-07 08:06:49 +08:00
27 lines
638 B
Python
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()
|