From efe07e28c1a43164e7e705aa2550792f215685c3 Mon Sep 17 00:00:00 2001 From: ilia-shipitsin <125650415+ilia-shipitsin@users.noreply.github.com> Date: Mon, 15 May 2023 12:24:20 +0200 Subject: [PATCH] [macos] systeminfo.txt: remove debug leftover (#7592) --- .../macos/software-report/SoftwareReport.Generator.ps1 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/images/macos/software-report/SoftwareReport.Generator.ps1 b/images/macos/software-report/SoftwareReport.Generator.ps1 index 80172b341..5aed6ee70 100644 --- a/images/macos/software-report/SoftwareReport.Generator.ps1 +++ b/images/macos/software-report/SoftwareReport.Generator.ps1 @@ -302,21 +302,11 @@ PARALLELS_DMG_URL environment variable. A system extension is allowed for this v $miscellaneousEnvNotes.AddNote($notes) } -# -# Generate systeminfo.txt with information about image (for debug purpose) -# -$dateTime = (Get-Date).ToString("yyyy-MM-dd HH:mm:ss") -$systemInfo = [string]::Join([System.Environment]::NewLine, @( - "Date: ${dateTime}", - "Image name: ${ImageName}" - )) - if (-not (Test-Path $OutputDirectory)) { New-Item -Path $OutputDirectory -ItemType Directory | Out-Null } # # Write final reports # Write-Host $markdownExtended -$systemInfo | Out-File -FilePath "${OutputDirectory}/systeminfo.txt" -Encoding UTF8NoBOM $softwareReport.ToJson() | Out-File -FilePath "${OutputDirectory}/systeminfo.json" -Encoding UTF8NoBOM $softwareReport.ToMarkdown() | Out-File -FilePath "${OutputDirectory}/systeminfo.md" -Encoding UTF8NoBOM