1 parent d908196 commit 884b5f1Copy full SHA for 884b5f1
1 file changed
.scripts/powershell.ps1
@@ -35,6 +35,8 @@ if ($env:MOONBIT_INSTALL_DEV) {
35
36
$CoreUri = "$CLI_MOONBIT/cores/core-$Version.zip"
37
38
+$oldPreference = $ProgressPreference
39
+$ProgressPreference = 'SilentlyContinue'
40
41
try {
42
if (-not (Test-Path -Path $MoonHome -PathType Container)) {
@@ -77,8 +79,11 @@ try {
77
79
$env:PATH = $OldPath
78
80
81
Pop-Location
82
+
83
+ $ProgressPreference = $oldPreference
84
}
85
catch {
86
87
Write-Output "Install Failed:"
88
Write-Output $_.Exception.Message
89
exit 1
0 commit comments