]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/rsync-updater/update-to-release.bat
Add yes/no dialogs to the update scripts, fixes #148
[xonotic/xonotic.git] / misc / tools / rsync-updater / update-to-release.bat
old mode 100644 (file)
new mode 100755 (executable)
index 911628c..498e2af
@@ -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