mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-10 06:34:20 +00:00
fix: install into $home on windows for now
Stopgap measure so that people stop installing into System32 (since that's the default Powershell elevated prompt directory for some reason).
This commit is contained in:
parent
f3d0ba2f51
commit
c2264cabae
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env pwsh
|
||||
|
||||
#Requires -Version 5
|
||||
param($path = "$pwd/rustlings")
|
||||
param($path = "$home/rustlings")
|
||||
|
||||
Write-Host "Let's get you set up with Rustlings!"
|
||||
|
||||
|
@ -91,4 +91,4 @@ if (!$clippy) {
|
|||
rustup component add clippy
|
||||
}
|
||||
|
||||
Write-Host "All done! Run 'rustlings' to get started."
|
||||
Write-Host "All done! Navigate to $path and run 'rustlings' to get started!"
|
||||
|
|
Loading…
Reference in a new issue