From 4fe71af9d05e326805e9be3aeec17d3cedfe1ac3 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 5 Nov 2023 07:54:48 +0000 Subject: [PATCH] fix(windows): use home directory, not current directory --- _webi/template.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_webi/template.ps1 b/_webi/template.ps1 index ca7f1a7..2f661ec 100644 --- a/_webi/template.ps1 +++ b/_webi/template.ps1 @@ -37,9 +37,9 @@ $Env:WEBI_HOST = 'https://webinstall.dev' Push-Location $Env:USERPROFILE # Make paths -New-Item -Path Downloads -ItemType Directory -Force | Out-Null -New-Item -Path .local\bin -ItemType Directory -Force | Out-Null -New-Item -Path .local\opt -ItemType Directory -Force | Out-Null +New-Item -Path "$Env:USERPROFILE\Downloads" -ItemType Directory -Force | Out-Null +New-Item -Path "$Env:USERPROFILE\.local\bin" -ItemType Directory -Force | Out-Null +New-Item -Path "$Env:USERPROFILE\.local\opt" -ItemType Directory -Force | Out-Null # {{ baseurl }} # {{ version }}