Skip to content

Commit c2264ca

Browse files
authored
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).
1 parent f3d0ba2 commit c2264ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env pwsh
22

33
#Requires -Version 5
4-
param($path = "$pwd/rustlings")
4+
param($path = "$home/rustlings")
55

66
Write-Host "Let's get you set up with Rustlings!"
77

@@ -91,4 +91,4 @@ if (!$clippy) {
9191
rustup component add clippy
9292
}
9393

94-
Write-Host "All done! Run 'rustlings' to get started."
94+
Write-Host "All done! Navigate to $path and run 'rustlings' to get started!"

0 commit comments

Comments
 (0)