summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-11-16 13:05:39 +0000
committerrubidium <rubidium@openttd.org>2008-11-16 13:05:39 +0000
commitfd3335521a536df5da75ead47ccc3ca7517f02d2 (patch)
tree32400ba11216fa195d02c09ebcf9e4426030709a /os
parent1a866c7552c1f29316984786252c68632fee9550 (diff)
downloadopenttd-fd3335521a536df5da75ead47ccc3ca7517f02d2.tar.xz
(svn r14580) -Fix [FS#2404]: scripts directory not being copied into bundles.
Diffstat (limited to 'os')
-rw-r--r--os/win32/installer/install.nsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/win32/installer/install.nsi b/os/win32/installer/install.nsi
index 428db5100..289d8947d 100644
--- a/os/win32/installer/install.nsi
+++ b/os/win32/installer/install.nsi
@@ -120,6 +120,10 @@ Section "!OpenTTD" Section1
SetOutPath "$INSTDIR\scenario\heightmap\"
File /nonfatal ${PATH_ROOT}bin\scenario\heightmap\*.*
+ ; Copy the scripts
+ SetOutPath "$INSTDIR\scripts\"
+ File ${PATH_ROOT}bin\scripts\*.*
+
; Copy the rest of the stuff
SetOutPath "$INSTDIR\"
@@ -296,6 +300,9 @@ Section "Uninstall"
; Language files
Delete "$INSTDIR\lang\*.lng"
+ ; Scripts
+ Delete "$INSTDIR\scripts\*.lng"
+
; Remove remaining directories
RMDir "$SMPROGRAMS\$SHORTCUTS\Extras\"
RMDir "$SMPROGRAMS\$SHORTCUTS"