Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): write CLI shim batch file in OEM encoding

Richie McIlroy882caf38ab06
diff --git a/apps/web/app/install-cli.ps1/route.ts b/apps/web/app/install-cli.ps1/route.ts
index 563d80974..6b00734d6 100644
--- a/apps/web/app/install-cli.ps1/route.ts
+++ b/apps/web/app/install-cli.ps1/route.ts
@@ -54,7 +54,7 @@ if (Test-Path $shimPath) {
@"
@echo off
"$cliTarget" %*
-"@ | Set-Content -Encoding ASCII $shimPath
+"@ | Set-Content -Encoding Oem $shimPath
& $shimPath --help | Out-Null