We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc5e54 commit ab557b9Copy full SHA for ab557b9
1 file changed
scripts/download-tools.py
@@ -27,6 +27,8 @@
27
28
def download_adb_fastboot(platform: str):
29
"""Download adb and fastboot executable from dl.google.com, extract the zip and save to file."""
30
+ if platform == "win32":
31
+ platform = "windows"
32
logger.info(f"Download adb and fastboot for {platform}...")
33
url = (
34
f"https://dl.google.com/android/repository/platform-tools-latest-{platform}.zip"
@@ -104,6 +106,7 @@ def move_files_to_lib():
104
106
105
107
108
def main(platform: str):
109
+ logger.info(f"Run download for {platform}")
110
download_adb_fastboot(platform=platform)
111
download_heimdall(platform=platform)
112
move_files_to_lib()
0 commit comments