3 set options=-Prtzil --executability --delete-after --delete-excluded --stats
\r
5 if exist Xonotic-low goto xonoticlow
\r
6 if exist Xonotic-high goto xonotichigh
\r
7 if exist ..\..\..\.git goto xonoticdatagit
\r
8 if exist ..\..\..\data goto xonoticdata
\r
11 set url=rsync://beta.xonotic.org/autobuild-Xonotic-low/
\r
12 set target=Xonotic-low/
\r
15 set url=rsync://beta.xonotic.org/autobuild-Xonotic-high/
\r
16 set target=Xonotic-high/
\r
19 echo NOTE: this is a git repository download. Using the regular update method.
\r
23 if exist ..\..\..\data\xonotic-rsync-data-low.pk3 goto xonoticdatalow
\r
24 if exist ..\..\..\data\xonotic-*-data-low.pk3 goto xonoticdatalowfuzzy
\r
25 if exist ..\..\..\data\xonotic-rsync-data-high.pk3 goto xonoticdatahigh
\r
26 if exist ..\..\..\data\xonotic-*-data-high.pk3 goto xonoticdatahighfuzzy
\r
27 if exist ..\..\..\data\xonotic-rsync-data.pk3 goto xonoticdatanormal
\r
28 if exist ..\..\..\data\xonotic-*-data.pk3 goto xonoticdatanormalfuzzy
\r
29 echo FATAL: unrecognized Xonotic build. This update script cannot be used.
\r
32 set url=rsync://beta.xonotic.org/autobuild-Xonotic-low/
\r
34 :xonoticdatalowfuzzy
\r
35 set url=rsync://beta.xonotic.org/autobuild-Xonotic-low/
\r
36 set options=%options% -y
\r
39 set url=rsync://beta.xonotic.org/autobuild-Xonotic-high/
\r
41 :xonoticdatahighfuzzy
\r
42 set url=rsync://beta.xonotic.org/autobuild-Xonotic-high/
\r
43 set options=%options% -y
\r
46 set url=rsync://beta.xonotic.org/autobuild-Xonotic/
\r
48 :xonoticdatanormalfuzzy
\r
49 set url=rsync://beta.xonotic.org/autobuild-Xonotic/
\r
50 set options=%options% -y
\r
56 set url=rsync://beta.xonotic.org/autobuild-Xonotic/
\r
62 set excludes=%excludes% --exclude=/xonotic-linux*
\r
63 set excludes=%excludes% --exclude=/xonotic-osx-*
\r
64 set excludes=%excludes% --exclude=/Xonotic*.app
\r
65 set excludes=%excludes% --exclude=/fteqcc/fteqcc.linux*
\r
66 set excludes=%excludes% --exclude=/fteqcc/fteqcc.osx
\r
68 if "%ProgramFiles(x86)%" == "" goto bit32
\r
70 set excludes=%excludes% --exclude=/xonotic.exe
\r
71 set excludes=%excludes% --exclude=/xonotic-sdl.exe
\r
72 set excludes=%excludes% --exclude=/xonotic-dedicated.exe
\r
73 set excludes=%excludes% --exclude=/fteqcc/fteqcc.exe
\r
74 set excludes=%excludes% --exclude=/bin32
\r
75 set excludes=%excludes% --exclude=/*.dll
\r
78 set excludes=%excludes% --exclude=/xonotic-x64.exe
\r
79 set excludes=%excludes% --exclude=/xonotic-x64-sdl.exe
\r
80 set excludes=%excludes% --exclude=/xonotic-x64-dedicated.exe
\r
81 set excludes=%excludes% --exclude=/fteqcc/fteqcc-x64.exe
\r
82 set excludes=%excludes% --exclude=/bin64
\r
86 rsync %options% %excludes% %url% %target%
\r
87 chmod -R a+x %target%
\r