summaryrefslogtreecommitdiff
path: root/os/win32
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
commit1fa4be9d6d2bba27c453bedeec2feee1fc14546f (patch)
tree32400ba11216fa195d02c09ebcf9e4426030709a /os/win32
parent24bd9866f8e37d1b28ba39a1c3776cceb2ac61f0 (diff)
downloadopenttd-1fa4be9d6d2bba27c453bedeec2feee1fc14546f.tar.xz
(svn r14580) -Fix [FS#2404]: scripts directory not being copied into bundles.
Diffstat (limited to 'os/win32')
-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"