fix: keep Windows bootstrap scripts ASCII-compatible

This commit is contained in:
somew1nd committed 2026-09-10 00:57:37 -07:00
1 parent 5d92939d91
commit 38a2de6a9f
3 files changed
+89 -41

No files matched your search

+2 -2
View File
@@ -204,12 +204,12 @@ function Install-PortableScrcpy {
Remove-Item $extractDir -Recurse -Force -ErrorAction SilentlyContinue
if (Test-Path "$scrcpyDir\scrcpy.exe") {
$env:PATH = "$scrcpyDir;$env:PATH"
Write-Host " ✔ Portable scrcpy installed in user space." -ForegroundColor Green
Write-Host " [OK] Portable scrcpy installed in user space." -ForegroundColor Green
return $true
}
}
} catch {
Write-Host " ⚠ Failed to install portable scrcpy: $_" -ForegroundColor DarkYellow
Write-Host " [WARN] Failed to install portable scrcpy: $_" -ForegroundColor DarkYellow
}
return $false
}