summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/crawl.nsi
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-21 18:59:23 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-21 22:53:08 +0200
commit24b9305ab63cc8232448af9a074ac6952fdf1fa2 (patch)
tree4cf60250da84e8dba786080c9e05f9121e95eabc /crawl-ref/source/util/crawl.nsi
parent7c76d067c6f66b3e5de8666322c132c8e03cd921 (diff)
downloadcrawl-ref-24b9305ab63cc8232448af9a074ac6952fdf1fa2.tar.gz
crawl-ref-24b9305ab63cc8232448af9a074ac6952fdf1fa2.zip
Purge old lua scripts formerly loaded by the default config, on Windows.
Unlike other packaging systems, msi doesn't purge obsolete files.
Diffstat (limited to 'crawl-ref/source/util/crawl.nsi')
-rw-r--r--crawl-ref/source/util/crawl.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/util/crawl.nsi b/crawl-ref/source/util/crawl.nsi
index c0e19358f9..71250d77e1 100644
--- a/crawl-ref/source/util/crawl.nsi
+++ b/crawl-ref/source/util/crawl.nsi
@@ -45,6 +45,9 @@ Section ""
# clean after previous versions; crawl-console.exe used to be named crawl.exe
# but that made sense on Unix but not really on Windows.
Delete crawl.exe
+ # clean after 0.10 or earlier, let's produce error messages instead of
+ # incorrect behaviour
+ Delete dat\lua\*.lua
WriteUninstaller $INSTDIR\uninst.exe