]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/rsync-updater/update-to-autobuild.bat
Change update-to-release.sh to be a symlink to update-to-autobuild.sh
[xonotic/xonotic.git] / misc / tools / rsync-updater / update-to-autobuild.bat
old mode 100644 (file)
new mode 100755 (executable)
index 9d6cbf1..1fb8b2e
@@ -10,6 +10,9 @@ exit
 \r
 :copied\r
 \r
+set /p choice=This script will DELETE any custom files in the Xonotic folder. Do you want to continue [Y/N]?\r
+if /i not "%choice%" == "Y" goto end\r
+\r
 set buildtype=release\r
 if "%~n0" == "update-to-autobuild" set buildtype=autobuild\r
 \r
@@ -21,7 +24,8 @@ if exist ..\..\..\.git goto xonoticdatagit
 if exist ..\..\..\data goto xonoticdata\r
 goto xonotic\r
 :xonoticlow\r
-       set url=rsync://beta.xonotic.org/%buildtype%-Xonotic-low/\r
+        echo NOTE: Xonotic-low is gone, downloading normal Xonotic.\r
+       set url=rsync://beta.xonotic.org/%buildtype%-Xonotic/\r
        set target=Xonotic-low/\r
        goto endxonotic\r
 :xonotichigh\r
@@ -48,10 +52,12 @@ goto xonotic
        echo FATAL: unrecognized Xonotic build. This update script cannot be used.\r
        goto end\r
 :xonoticdatalow\r
-               set url=rsync://beta.xonotic.org/%buildtype%-Xonotic-low/\r
+               echo NOTE: Xonotic-low is gone, downloading normal Xonotic.\r
+               set url=rsync://beta.xonotic.org/%buildtype%-Xonotic/\r
                goto endxonoticdata\r
 :xonoticdatalowfuzzy\r
-               set url=rsync://beta.xonotic.org/%buildtype%-Xonotic-low/\r
+               echo NOTE: Xonotic-low is gone, downloading normal Xonotic.\r
+               set url=rsync://beta.xonotic.org/%buildtype%-Xonotic/\r
                set options=%options% -y\r
                goto endxonoticdata\r
 :xonoticdatahigh\r
@@ -89,7 +95,6 @@ if "%ProgramFiles(x86)%" == "" goto bit32
 :bit64\r
        if not "%XONOTIC_INCLUDE_32BIT%" == "" goto endbit\r
        set excludes=%excludes% --exclude=/xonotic-x86.exe\r
-       set excludes=%excludes% --exclude=/xonotic-x86-wgl.exe\r
        set excludes=%excludes% --exclude=/xonotic-x86-dedicated.exe\r
        set excludes=%excludes% --exclude=/gmqcc/gmqcc.exe\r
        set excludes=%excludes% --exclude=/bin32\r
@@ -97,7 +102,6 @@ if "%ProgramFiles(x86)%" == "" goto bit32
        goto endbit\r
 :bit32\r
        set excludes=%excludes% --exclude=/xonotic.exe\r
-       set excludes=%excludes% --exclude=/xonotic-wgl.exe\r
        set excludes=%excludes% --exclude=/xonotic-dedicated.exe\r
        set excludes=%excludes% --exclude=/gmqcc/gmqcc-x64.exe\r
        set excludes=%excludes% --exclude=/bin64\r