Skip to content

Commit

Permalink
fix: install into $home on windows for now
Browse files Browse the repository at this point in the history
Stopgap measure so that people stop installing into System32 (since that's the default Powershell elevated prompt directory for some reason).
  • Loading branch information
shadows-withal authored Jun 15, 2023
1 parent f3d0ba2 commit c2264ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.ps1
Original file line number Diff line number Diff line change
@@ -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!"

Expand Down Expand Up @@ -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!"

0 comments on commit c2264ca

Please sign in to comment.