mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 20:16:23 +00:00
fix(windows): use home directory, not current directory
This commit is contained in:
+3
-3
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user