mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-11 05:47:40 +00:00
more windows fixes
This commit is contained in:
parent
82f0d6b547
commit
8c5c7a7fb9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user