This commit is contained in:
Freddy Kristiansen 2023-05-18 09:32:11 +02:00
Родитель 71357d9855
Коммит dd24718bf3
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -62,9 +62,12 @@ try {
$artifactPath = Download-Artifacts $artifactUrl -includePlatform
$ManagementModule = Get-Item -Path (Join-Path $artifactPath[1] "ServiceTier\program files\Microsoft Dynamics NAV\*\Service\Microsoft.Dynamics.Nav.Management.dll")
if (!($ManagementModule)) {
$ManagementModule = Get-Item -Path (Join-Path $artifactPath[1] "ServiceTier\program files\Microsoft Dynamics NAV\*\Service\Management\Microsoft.Dynamics.Nav.Management.dll")
if (!($ManagementModule)) {
throw "Unable to locate management module in artifacts"
}
}
$manifest = Get-Content -Path (Join-Path $artifactPath[0] "manifest.json") | ConvertFrom-Json
if ($bakFile) {