Skip to content

Commit 89ce0dc

Browse files
authored
Merge pull request #77 from bovine3dom/move_wild_mkii
Match any rclone version (but for real this time)
2 parents 2c3167b + 7c91f59 commit 89ce0dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

windows-install.bat

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ echo Unzipping adb
2929
"C:\Program Files\7-Zip\7z.exe" x -y android-tools.zip > NUL
3030
echo Combining folders
3131
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
32+
for /d %%a in (rclone-*) do (
33+
move /y %%a\rclone.exe platform-tools\ > NUL
34+
del /F /Q %%a > NUL
35+
rmdir %%a > NUL
36+
)
3437
echo Adding to PATH
3538
:: Get System PATH
3639
for /f "tokens=2*" %%A in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path') do set syspath=%%B

0 commit comments

Comments
 (0)