From c2264cabae976cf534be08942ff33f3a58f8795e Mon Sep 17 00:00:00 2001
From: liv <mokou@fastmail.com>
Date: Thu, 15 Jun 2023 10:56:53 +0200
Subject: [PATCH] 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).
---
 install.ps1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install.ps1 b/install.ps1
index 97980c5b..7bab21f6 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!"