1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 13:17:00 +08:00

Opt: Use absolute ADB path

- AzurLaneUncensored failed to push when using relative path
This commit is contained in:
LmeSzinc
2021-11-09 22:17:20 +08:00
parent f64de3794d
commit 963437acb4
2 changed files with 2 additions and 1 deletions

View File

@@ -116,6 +116,7 @@ class Connection:
# Try existing adb.exe
for file in self.adb_binary_list:
if os.path.exists(file):
file = os.path.abspath(file).replace('\\', '/')
logger.attr('Adb_binary', file)
self._adb_binary = file
return file