mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #2566 from JarnoVgr/installerfix
Added missing files to publish process
This commit is contained in:
commit
6866c8839a
|
@ -111,13 +111,9 @@ Section "!OpenRCT2" Section1
|
|||
|
||||
SetShellVarContext all
|
||||
|
||||
; Copy language files
|
||||
SetOutPath "$INSTDIR\data\language\"
|
||||
File ${PATH_ROOT}data\language\*.txt
|
||||
|
||||
; Copy data files
|
||||
SetOutPath "$INSTDIR\data\"
|
||||
File /r ${PATH_ROOT}data\*
|
||||
File /r ${PATH_ROOT}bin\data\*
|
||||
|
||||
; Copy the rest of the stuff
|
||||
SetOutPath "$INSTDIR\"
|
||||
|
@ -125,13 +121,13 @@ Section "!OpenRCT2" Section1
|
|||
; Copy curl ca file
|
||||
File ..\..\curl-ca-bundle.crt
|
||||
|
||||
; Copy curl ca file
|
||||
File ..\..\curl-ca-bundle.crt
|
||||
|
||||
; Copy text files
|
||||
File ..\changelog.txt
|
||||
Push "$INSTDIR\changelog.txt"
|
||||
Call unix2dos
|
||||
File ..\known_issues.txt
|
||||
Push "$INSTDIR\known_issues.txt"
|
||||
Call unix2dos
|
||||
File ..\..\licence.txt
|
||||
Push "$INSTDIR\licence.txt"
|
||||
Call unix2dos
|
||||
|
|
|
@ -84,6 +84,8 @@ function Do-Package()
|
|||
Copy-Item -Force "$distDir\changelog.txt" $tempDir -ErrorAction Stop
|
||||
Copy-Item -Force "$distDir\known_issues.txt" $tempDir -ErrorAction Stop
|
||||
Copy-Item -Force "$distDir\readme.txt" $tempDir -ErrorAction Stop
|
||||
Copy-Item -Force "$rootPath\contributors.md" $tempDir -ErrorAction Stop
|
||||
Copy-Item -Force "$rootPath\licence.txt" $tempDir -ErrorAction Stop
|
||||
|
||||
# Create archive using 7z (renowned for speed and compression)
|
||||
$7zcmd = "7za"
|
||||
|
|
Loading…
Reference in New Issue