fix(windows): use home directory, not current directory

This commit is contained in:
AJ ONeal
2023-11-05 11:39:32 -07:00
parent a2c694fd8a
commit 4fe71af9d0
+3 -3
View File
@@ -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 }}