(svn r14580) -Fix [FS#2404]: scripts directory not being copied into bundles.

This commit is contained in:
rubidium
2008-11-16 13:05:39 +00:00
parent 24bd9866f8
commit 1fa4be9d6d
2 changed files with 10 additions and 0 deletions

View File

@@ -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"