Installer: Include ChangeLog.

This commit is contained in:
Nodir Temirkhodjaev 2017-12-14 15:01:43 +05:00
parent 94339df389
commit 2ef05e9c15
2 changed files with 4 additions and 1 deletions

View File

@ -11,8 +11,9 @@
"${QTPATH}/bin/Qt5Widgets.dll" "${QTPATH}/bin/Qt5Widgets.dll"
], ],
"fort": [ "fort": [
"${ROOT}/ChangeLog",
"${BUILD}/FortFirewall.exe", "${BUILD}/FortFirewall.exe",
"${BUILD}/i18n | *.qm |" "${ROOT}/src/ui/i18n | *.qm |"
] ]
}, },
"${TARGET}/imports": { "${TARGET}/imports": {

View File

@ -1,6 +1,7 @@
param ( param (
[string]$TargetPath = ".\build", [string]$TargetPath = ".\build",
[string]$BuildPath = "..\src\build-ui\release", [string]$BuildPath = "..\src\build-ui\release",
[string]$RootPath = "..",
[string]$QtPath = "D:\opt\qt5-fort\qtbase" [string]$QtPath = "D:\opt\qt5-fort\qtbase"
) )
@ -33,6 +34,7 @@ for ($i = 0; $i -lt $targetDirs.length; $i++) {
$file = $files[$k] $file = $files[$k]
$file = $file -replace "/", "\" $file = $file -replace "/", "\"
$file = $file -replace '\${BUILD}', "$BuildPath" $file = $file -replace '\${BUILD}', "$BuildPath"
$file = $file -replace '\${ROOT}', "$RootPath"
$file = $file -replace '\${QTPATH}', "$QtPath" $file = $file -replace '\${QTPATH}', "$QtPath"
if ($file.Contains('|')) { if ($file.Contains('|')) {