mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
Update windows.mdx
$env:HOME is nonexistent in Windows by default unless manually set, we use $env:USERPROFILE instead Signed-off-by: MichaelGK <39009683+MichaelDavidGK@users.noreply.github.com>
This commit is contained in:
parent
2420f61850
commit
187e41ba1d
@ -29,7 +29,7 @@ import styles from '@site/src/css/download-card.module.css';
|
||||
|
||||
```text
|
||||
$source = Join-Path -Path $env:TEMP -ChildPath "zrok\zrok.exe"
|
||||
$destination = Join-Path -Path $env:HOME -ChildPath "bin\zrok.exe"
|
||||
$destination = Join-Path -Path $env:USERPROFILE -ChildPath "bin\zrok.exe"
|
||||
New-Item -Path $destination -ItemType Directory -ErrorAction SilentlyContinue
|
||||
Copy-Item -Path $source -Destination $destination
|
||||
$env:path += ";"+$destination
|
||||
|
Loading…
Reference in New Issue
Block a user