summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2019-07-17 11:32:08 +0100
committerPeter2019-07-17 11:32:08 +0100
commitcf4113440f3d7d25d4453777d35cd513807420ed (patch)
treeb2caf29e3c24db74bcb8524d7ee820e2fdf4014e
parent6e9c8c7a1870b42d6b4bcdb5fc0f0b1e2c3a4267 (diff)
downloadwin10-prep-cf4113440f3d7d25d4453777d35cd513807420ed.tar.gz
win10-prep-cf4113440f3d7d25d4453777d35cd513807420ed.tar.bz2
win10-prep-cf4113440f3d7d25d4453777d35cd513807420ed.zip
Move rclone binaries
Similar issue to syncthing
-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