This commit is contained in:
freddydk 2023-04-15 20:39:11 -04:00
Родитель 82c7079526
Коммит 2ce7698b48
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -1059,8 +1059,8 @@ function GetAppInfo {
$packageStream = [System.IO.File]::OpenRead($path)
$package = [Microsoft.Dynamics.Nav.CodeAnalysis.Packaging.NavAppPackageReader]::Create($PackageStream, $true)
$manifest = $package.ReadNavAppManifest()
#$manifest | out-host
#$manifest.Dependencies | Out-Host
$manifest | out-host
$manifest.Dependencies | Out-Host
$appInfo = @{
"appId" = $manifest.AppId
"publisher" = $manifest.AppPublisher
@ -1075,6 +1075,7 @@ function GetAppInfo {
$appInfo | ConvertTo-Json -Depth 99 | Set-Content -Path $appInfoPath -Encoding UTF8 -Force
}
}
$appInfo | Out-Host
@{
"id" = $appInfo.appId
"appId" = $appInfo.appId