Skip to content

Commit 0c4f412

Browse files
committed
Also move the AdbWinApi.dll on windows
1 parent ba3652f commit 0c4f412

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/download-tools.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ def move_files_to_lib(platform: str):
8484
adb_target_path = adb_target_path.parents[0] / "adb.exe"
8585
logger.info(adb_target_path)
8686
adb_path.rename(adb_target_path)
87+
# if windows, also move dll
88+
if platform == "win32":
89+
adb_path = adb_path.parents[0] / "AdbWinApi.dll"
90+
adb_target_path = adb_target_path.parents[0] / "AdbWinApi.dll"
91+
logger.info(adb_target_path)
92+
adb_path.rename(adb_target_path)
8793
# move fastboot
8894
fb_path = (
8995
Path(__file__)

0 commit comments

Comments
 (0)