more windows fixes

This commit is contained in:
Rudolf Polzer 2012-01-28 17:20:38 +01:00
parent 82f0d6b547
commit 8c5c7a7fb9

View File

@ -1,11 +1,16 @@
@echo off
if "%1" == "did-copy" goto copied
cd %~dp0
del /s /q %TEMP%\xonotic-rsync-updater
mkdir %TEMP%\xonotic-rsync-updater
for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\
for %%f in (*.exe *.dll *.bat) do copy /b %%f %TEMP%\xonotic-rsync-updater\
%TEMP%\xonotic-rsync-updater\update-xonotic did-copy
del /s /q %TEMP%\xonotic-rsync-updater
pause
exit
:copied
set options=-Prtzil --executability --delete-after --delete-excluded --stats
if exist Xonotic-low goto xonoticlow
@ -102,5 +107,3 @@ for %%f in (*.exe *.dll) do copy /b %%f %TEMP%\xonotic-rsync-updater\
%TEMP%\xonotic-rsync-updater\chmod -R a+x %target%
:end
del /s /q %TEMP%\xonotic-rsync-updater
pause