X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Ftools%2Frsync-updater%2Fupdate-xonotic.bat;h=43d2cc69ddf42da27c23c192429617b2eaf7f9d8;hb=d4d775b6051fbc6a6af9cb9afbf1c98880b2d3a1;hp=fb3972a53c8425c0729029b1b10d7b252fba55fe;hpb=e3898bd3bf08f660ff0927d63735900608220821;p=xonotic%2Fxonotic.git diff --git a/misc/tools/rsync-updater/update-xonotic.bat b/misc/tools/rsync-updater/update-xonotic.bat index fb3972a5..43d2cc69 100644 --- a/misc/tools/rsync-updater/update-xonotic.bat +++ b/misc/tools/rsync-updater/update-xonotic.bat @@ -92,8 +92,12 @@ if "%ProgramFiles(x86)%" == "" goto bit32 goto endbit :endbit -rsync %options% %excludes% %url% %target% -chmod -R a+x %target% +del /s %TEMP%\xonotic-rsync-updater +mkdir %TEMP%\xonotic-rsync-updater +for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\ +%TEMP%\xonotic-rsync-updater\rsync %options% %excludes% %url% %target% +%TEMP%\xonotic-rsync-updater\chmod -R a+x %target% +del /s %TEMP%\xonotic-rsync-updater :end pause