Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(windows): drop em-dashes from sign-ssl.ps1 quota-error path (PowerShell 5.1 ANSI breaks UTF-8) (#3640)

Louis Beaumont20774c6fe7a5
diff --git a/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1 b/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1
index bc5e41876..819cfb111 100644
--- a/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1
+++ b/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1
@@ -134,7 +134,13 @@ while (-not $signed -and $attempt -lt $maxAttempts) {
$signOutputText = ($signOutput | Out-String)
if ($signOutputText -match "QuotaExceededError") {
- Write-Host "ERROR: SSL.com signing quota exceeded — every retry will hit the same wall."
+ # ASCII only in this block: sign-ssl.ps1 is read by PowerShell 5.1
+ # on Windows runners with no BOM and an ANSI codepage. UTF-8
+ # multi-byte chars (em-dash, smart-quotes) mangle and break the
+ # parser at the first non-ASCII byte; the reported line number
+ # ends up far below the actual offending character. Stick to
+ # `-` and straight quotes here.
+ Write-Host "ERROR: SSL.com signing quota exceeded - every retry will hit the same wall."
Write-Host "ERROR: Top up the account at https://www.ssl.com/dashboard or wait for the monthly quota reset, then re-run this workflow."
Write-Host "ERROR: Failed file: $FilePath"
exit 1