From db425bc0bd41802803bf65c22e88bf0750ddafb6 Mon Sep 17 00:00:00 2001 From: Jarno Veuger Date: Sun, 27 Dec 2015 14:25:55 +0100 Subject: [PATCH] Added missing files to publish process --- distribution/windows/install.nsi | 12 ++++-------- scripts/ps/publish.ps1 | 2 ++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/distribution/windows/install.nsi b/distribution/windows/install.nsi index 36ee42ca72..c0455e61a9 100644 --- a/distribution/windows/install.nsi +++ b/distribution/windows/install.nsi @@ -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 diff --git a/scripts/ps/publish.ps1 b/scripts/ps/publish.ps1 index e96dc733f9..07b5f2580a 100644 --- a/scripts/ps/publish.ps1 +++ b/scripts/ps/publish.ps1 @@ -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"