diff options
| author | liv <mokou@fastmail.com> | 2023-06-15 10:56:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 10:56:53 +0200 |
| commit | c2264cabae976cf534be08942ff33f3a58f8795e (patch) | |
| tree | faf1ea81be1496ff2f07cb069219f1cf407f3096 /install.ps1 | |
| parent | f3d0ba2f51b292dc308aabe4c2240eb8ed9a6f63 (diff) | |
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).
Diffstat (limited to 'install.ps1')
| -rw-r--r-- | install.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.ps1 b/install.ps1 index 97980c5..7bab21f 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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!" |
