\r
cd %~dp0\r
\r
+del /s /y %TEMP%\xonotic-rsync-updater\r
+mkdir %TEMP%\xonotic-rsync-updater\r
+for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\\r
+\r
set options=-Prtzil --executability --delete-after --delete-excluded --stats\r
\r
if exist Xonotic-low goto xonoticlow\r
goto endbit\r
:endbit\r
\r
-del /s %TEMP%\xonotic-rsync-updater\r
+del /s /y %TEMP%\xonotic-rsync-updater\r
mkdir %TEMP%\xonotic-rsync-updater\r
for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\\r
%TEMP%\xonotic-rsync-updater\rsync %options% %excludes% %url% %target%\r
%TEMP%\xonotic-rsync-updater\chmod -R a+x %target%\r
-del /s %TEMP%\xonotic-rsync-updater\r
\r
:end\r
+del /s /y %TEMP%\xonotic-rsync-updater\r
pause\r