summaryrefslogtreecommitdiff
path: root/xmake/scripts/update-script.bat
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-05 14:18:10 +0800
committerOpportunityLiu <[email protected]>2019-06-06 14:37:22 +0800
commite9b11611ea2c2c2c892938deee37797a5d10d296 (patch)
tree1fd47b9747bf6db535ed817636ba6bf1481037d1 /xmake/scripts/update-script.bat
parent12671e1c0af4e86d1ee73ccd13ff35defde7dc4b (diff)
install script
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