summaryrefslogtreecommitdiff
path: root/xmake/scripts/update-script.bat
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/update-script.bat')
-rw-r--r--xmake/scripts/update-script.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/scripts/update-script.bat b/xmake/scripts/update-script.bat
new file mode 100644
index 000000000..f0df7c1bd
--- /dev/null
+++ b/xmake/scripts/update-script.bat
@@ -0,0 +1,7 @@
+@echo off
+
+echo Removing old files
+cd "%~1"
+del actions core includes languages modules platforms plugins repository rules scripts templates themes /S /Q /F >nul
+echo Copying from temp directory to "%~1"
+xcopy "%~2" "%~1" /S /Y /Q >nul \ No newline at end of file