fix: keep Windows bootstrap scripts ASCII-compatible
This commit is contained in:
1 parent
5d92939d91
commit
38a2de6a9f
3 files changed
+89
-41
No files matched your search
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user