mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:46:03 +00:00
Installer: Include ChangeLog.
This commit is contained in:
parent
94339df389
commit
2ef05e9c15
@ -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": {
|
||||||
|
@ -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('|')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user