mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-28 00:00:03 +03: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,7 +1,7 @@
|
||||||
#!/usr/bin/env pwsh
|
#!/usr/bin/env pwsh
|
||||||
|
|
||||||
#Requires -Version 5
|
#Requires -Version 5
|
||||||
param($path = "$pwd/rustlings")
|
param($path = "$home/rustlings")
|
||||||
|
|
||||||
Write-Host "Let's get you set up with Rustlings!"
|
Write-Host "Let's get you set up with Rustlings!"
|
||||||
|
|
||||||
|
@ -91,4 +91,4 @@ if (!$clippy) {
|
||||||
rustup component add 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