summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--5-install.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/5-install.bat b/5-install.bat
index 08436cf..52c7dae 100644
--- a/5-install.bat
+++ b/5-install.bat
@@ -81,6 +81,12 @@ set /p syncthing-ver=<"syncthing-ver.tmp"
move "%programfiles%\Syncthing\%syncthing-ver%\*" "%programfiles%\Syncthing\"
rd /s /q "%programfiles%\Syncthing\%syncthing-ver%"
del "syncthing-ver.tmp"
+rem move rclone binaries (similar to syncthing)
+dir /b "%programfiles%\Rclone" > "rclone-ver.tmp"
+set /p rclone-ver=<"rclone-ver.tmp"
+move "%programfiles%\Rclone\%rclone-ver%\*" "%programfiles%\Rclone\"
+rd /s /q "%programfiles%\Rclone\%rclone-ver%"
+del "rclone-ver.tmp"
rem allow syncthing to auto update
icacls "%programfiles%\Syncthing" /grant Everyone:(OI)(CI)F
rem add syncthing autostart entry