Merge pull request #560 from MichaelDavidGK/patch-1

Fix windows instruction
This commit is contained in:
Kenneth Bingham 2024-02-12 12:59:12 -05:00 committed by GitHub
commit e28b8df947
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ import styles from '@site/src/css/download-card.module.css';
```text ```text
$source = Join-Path -Path $env:TEMP -ChildPath "zrok\zrok.exe" $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 New-Item -Path $destination -ItemType Directory -ErrorAction SilentlyContinue
Copy-Item -Path $source -Destination $destination Copy-Item -Path $source -Destination $destination
$env:path += ";"+$destination $env:path += ";"+$destination