aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorAlessandro Portale <[email protected]>2021-12-20 00:09:00 +0100
committerAlessandro Portale <[email protected]>2022-01-28 12:35:45 +0000
commit9e2554b660567d61ee742b2e26234b22eab7c425 (patch)
treebc1f6156406920b296fc053c3714a24e469e0cbf /src/libs
parentabe09bfd763b4e37aa8d76884412a755ef7be5dd (diff)
Use Utils::Archive instead of java's jar in AndroidSdkDownloader
The exctraction of the downloaded commandlinetools zip file via java's jar tool did suddenly not work anymore on Windows. The exit code of jarExtractProc in AndroidSdkDownloader::extractSdk would be != 0. Instead of fixing the jar usage, this change replaces it with the recently added Utils::Archive. That has the advantage that it preserves the file permissions while exctracting, so that we can also get rid of setSdkFilesExecPermission. Another advantage is that the SDK can be extracted even before a jdk has been selected. Change-Id: I99cc2aff8e183108eb11dbf96f06557e5b299d56 Reviewed-by: hjk <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]>
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions