mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
Fix install-from-binstall-release.ps1
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
0cad38b82a
commit
5d4ac2e786
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ Expand-Archive -Force $tmpdir\cargo-binstall.zip $tmpdir\cargo-binstall
|
|||
Write-Host ""
|
||||
|
||||
$ps = Start-Process -PassThru -Wait "$tmpdir\cargo-binstall\cargo-binstall.exe" "--self-install"
|
||||
if ($ps.ExitCode -eq 0) {
|
||||
if ($ps.ExitCode -ne 0) {
|
||||
Invoke-Expression "$tmpdir\cargo-binstall\cargo-binstall.exe -y --force cargo-binstall"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue