diff --git a/deploy/deployment.json b/deploy/deployment.json index 7b340a89..a004b02c 100644 --- a/deploy/deployment.json +++ b/deploy/deployment.json @@ -11,8 +11,9 @@ "${QTPATH}/bin/Qt5Widgets.dll" ], "fort": [ + "${ROOT}/ChangeLog", "${BUILD}/FortFirewall.exe", - "${BUILD}/i18n | *.qm |" + "${ROOT}/src/ui/i18n | *.qm |" ] }, "${TARGET}/imports": { diff --git a/deploy/setup-deployment.ps1 b/deploy/setup-deployment.ps1 index 5e850bdf..4b74263e 100644 --- a/deploy/setup-deployment.ps1 +++ b/deploy/setup-deployment.ps1 @@ -1,6 +1,7 @@ param ( [string]$TargetPath = ".\build", [string]$BuildPath = "..\src\build-ui\release", + [string]$RootPath = "..", [string]$QtPath = "D:\opt\qt5-fort\qtbase" ) @@ -33,6 +34,7 @@ for ($i = 0; $i -lt $targetDirs.length; $i++) { $file = $files[$k] $file = $file -replace "/", "\" $file = $file -replace '\${BUILD}', "$BuildPath" + $file = $file -replace '\${ROOT}', "$RootPath" $file = $file -replace '\${QTPATH}', "$QtPath" if ($file.Contains('|')) {