mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05: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