summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2018-06-14 22:38:41 +0800
committerruki <[email protected]>2018-06-14 09:52:09 +0800
commitec8068f4d052e4c4536fd485f9c9eb815e451397 (patch)
tree22944defd9f3f91ccf16a1d277be151d0df164e9 /scripts
parent16b501fbc388f1b207faf1475602388b9e09983e (diff)
add before_load and after_load for rule
Diffstat (limited to 'scripts')
-rw-r--r--scripts/installer.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/installer.nsi b/scripts/installer.nsi
index e82a93d9d..7a672e55e 100644
--- a/scripts/installer.nsi
+++ b/scripts/installer.nsi
@@ -77,6 +77,9 @@ Section "xmake (required)" Installer
; Set output path to the installation directory.
SetOutPath $INSTDIR
+
+ ; Remove previous directories used
+ RMDir /r "$INSTDIR"
; Put file there
File /r /x ".DS_Store" /x "*.swp" "..\xmake\*.*"