Mark the installer batch files that need administrator rights with -Admin

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-17 15:45:11 +08:00
1 parent fd1d9d651d
commit 946771c6af
7 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ setlocal
title Install Rust toolchain (rustup)
rem rustup installs per user (%USERPROFILE%\.cargo), so run this as the user who will use Rust.
rem The default msvc toolchain needs the MSVC Build Tools (see 20-Install-MSVC2022-BuildTools.bat).
rem The default msvc toolchain needs the MSVC Build Tools (see 20-Install-MSVC-Admin.bat).
set "INSTALLER=%TEMP%\rustup-init.exe"