@@ -53,8 +53,8 @@ function Test-Prerequisites {
5353 exit 1
5454 }
5555
56- Write-Host " ✓ git: $ ( git -- version) " - ForegroundColor Green
57- Write-Host " ✓ .NET SDK: $dotnetVersion " - ForegroundColor Green
56+ Write-Host " [OK] git: $ ( git -- version) " - ForegroundColor Green
57+ Write-Host " [OK] .NET SDK: $dotnetVersion " - ForegroundColor Green
5858}
5959
6060# Get latest release version from GitHub
@@ -71,7 +71,7 @@ function Get-LatestPlaywrightVersion {
7171 $versionParts = $version -split ' \.'
7272 $majorMinor = " $ ( $versionParts [0 ]) .$ ( $versionParts [1 ]) "
7373
74- Write-Host " ✓ Latest version: $tagName (using release-$majorMinor )" - ForegroundColor Green
74+ Write-Host " [OK] Latest version: $tagName (using release-$majorMinor )" - ForegroundColor Green
7575 return $majorMinor
7676 }
7777 catch {
@@ -93,7 +93,7 @@ $playwrightDir = "playwright-dotnet"
9393if ($Cleanup -and (Test-Path $playwrightDir )) {
9494 Write-Host " `n Cleaning up existing playwright-dotnet directory..." - ForegroundColor Cyan
9595 Remove-Item - Path $playwrightDir - Recurse - Force
96- Write-Host " ✓ Cleanup complete" - ForegroundColor Green
96+ Write-Host " [OK] Cleanup complete" - ForegroundColor Green
9797}
9898
9999# Clone repository
@@ -104,7 +104,7 @@ if (-not (Test-Path $playwrightDir)) {
104104 Write-Error " Failed to clone repository"
105105 exit 1
106106 }
107- Write-Host " ✓ Repository cloned" - ForegroundColor Green
107+ Write-Host " [OK] Repository cloned" - ForegroundColor Green
108108}
109109else {
110110 Write-Host " `n Playwright-dotnet directory already exists, skipping clone" - ForegroundColor Yellow
@@ -119,7 +119,7 @@ try {
119119 Write-Error " Failed to checkout release-$version "
120120 exit 1
121121 }
122- Write-Host " ✓ Checked out release-$version " - ForegroundColor Green
122+ Write-Host " [OK] Checked out release-$version " - ForegroundColor Green
123123}
124124finally {
125125 Pop-Location
@@ -133,7 +133,7 @@ if ($LASTEXITCODE -ne 0) {
133133 Write-Error " Failed to run Patchright"
134134 exit 1
135135}
136- Write-Host " ✓ Patchright executed successfully" - ForegroundColor Green
136+ Write-Host " [OK] Patchright executed successfully" - ForegroundColor Green
137137
138138# Download drivers
139139Write-Host " `n Downloading Playwright drivers..." - ForegroundColor Cyan
@@ -144,7 +144,7 @@ try {
144144 Write-Error " Failed to download drivers"
145145 exit 1
146146 }
147- Write-Host " ✓ Drivers downloaded" - ForegroundColor Green
147+ Write-Host " [OK] Drivers downloaded" - ForegroundColor Green
148148}
149149finally {
150150 Pop-Location
@@ -159,7 +159,7 @@ try {
159159 Write-Error " Failed to build solution"
160160 exit 1
161161 }
162- Write-Host " ✓ Solution built successfully" - ForegroundColor Green
162+ Write-Host " [OK] Solution built successfully" - ForegroundColor Green
163163}
164164finally {
165165 Pop-Location
@@ -174,7 +174,7 @@ try {
174174 Write-Error " Failed to create patch file"
175175 exit 1
176176 }
177- Write-Host " ✓ Patch file created successfully" - ForegroundColor Green
177+ Write-Host " [OK] Patch file created successfully" - ForegroundColor Green
178178}
179179finally {
180180 Pop-Location
@@ -189,7 +189,7 @@ try {
189189 Write-Error " Failed to pack project"
190190 exit 1
191191 }
192- Write-Host " ✓ Project packed successfully" - ForegroundColor Green
192+ Write-Host " [OK] Project packed successfully" - ForegroundColor Green
193193}
194194finally {
195195 Pop-Location
0 commit comments