🎨 Optimize CLI usage.

This commit is contained in:
Tw93
2023-06-23 13:15:49 +08:00
parent ba65ff21da
commit 6a4bb69631
9 changed files with 337 additions and 338 deletions

2
bin/helpers/rust.ts vendored
View File

@@ -12,7 +12,7 @@ export async function installRust() {
: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y";
const rustInstallScriptForWindows = 'winget install --id Rustlang.Rustup';
const spinner = getSpinner('Downloading Rust.');
const spinner = getSpinner('Downloading Rust...');
try {
await shellExec(IS_WIN ? rustInstallScriptForWindows : rustInstallScriptForMac);