We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c3167b + 7c91f59 commit 89ce0dcCopy full SHA for 89ce0dc
windows-install.bat
@@ -29,8 +29,11 @@ echo Unzipping adb
29
"C:\Program Files\7-Zip\7z.exe" x -y android-tools.zip > NUL
30
echo Combining folders
31
SET COPYCMD=/Y
32
-move /y rclone-v1.55.0-windows-amd64\rclone.exe platform-tools\rclone.exe > NUL
33
-del /F /Q rclone-v1.55.0-windows-amd64\ > NUL
+for /d %%a in (rclone-*) do (
+ move /y %%a\rclone.exe platform-tools\ > NUL
34
+ del /F /Q %%a > NUL
35
+ rmdir %%a > NUL
36
+)
37
echo Adding to PATH
38
:: Get System PATH
39
for /f "tokens=2*" %%A in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path') do set syspath=%%B
0 commit comments