Compare commits

...

5 Commits

Author SHA1 Message Date
RiskyMH
6578fed9d1 Merge branch 'riskymh/install-version' of https://github.com/oven-sh/bun into riskymh/install-version 2025-12-01 16:54:58 +11:00
RiskyMH
4482676290 Merge remote-tracking branch 'origin/main' into riskymh/install-version 2025-12-01 16:52:46 +11:00
Michael H
4ad3c6b550 Merge branch 'main' into riskymh/install-version 2025-12-01 16:16:02 +11:00
Jarred Sumner
d803d09541 Merge branch 'main' into riskymh/install-version 2025-06-05 01:36:05 -07:00
RiskyMH
99a0bc3a63 fix #3720 2025-06-05 15:09:32 +10:00
2 changed files with 3 additions and 2 deletions

View File

@@ -260,7 +260,7 @@ function Install-Bun {
$C_RESET = [char]27 + "[0m"
$C_GREEN = [char]27 + "[1;32m"
Write-Output "${C_GREEN}Bun ${DisplayVersion} was installed successfully!${C_RESET}"
Write-Output "${C_GREEN}Bun v${DisplayVersion} was installed successfully!${C_RESET}"
Write-Output "The binary is located at ${BunBin}\bun.exe`n"
$hasExistingOther = $false;

View File

@@ -167,7 +167,8 @@ tildify() {
fi
}
success "bun was installed successfully to $Bold_Green$(tildify "$exe")"
bun_version=$("$exe" --version 2>/dev/null || echo "unknown")
success "Bun v${bun_version} was installed successfully to $Bold_Green$(tildify "$exe")"
if command -v bun >/dev/null; then
# Install completions, but we don't care if it fails