mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 16:47:03 +08:00
Refactor: Atomic file read/write for better performance
- Drop dependency atomicwrites
This commit is contained in:
@@ -12,6 +12,8 @@ from deploy.pip import PipManager
|
||||
|
||||
class Installer(GitManager, PipManager, AdbManager, AppManager, AlasManager):
|
||||
def install(self):
|
||||
from deploy.atomic import atomic_failure_cleanup
|
||||
atomic_failure_cleanup('./config')
|
||||
try:
|
||||
self.git_install()
|
||||
self.alas_kill()
|
||||
|
||||
Reference in New Issue
Block a user